diff options
| author | Alexandra Ellwood <lxs@mit.edu> | 2008-03-12 16:50:21 +0000 |
|---|---|---|
| committer | Alexandra Ellwood <lxs@mit.edu> | 2008-03-12 16:50:21 +0000 |
| commit | 9b58ededdc28757a3a203e645094a2cd854434cf (patch) | |
| tree | fc92e9bf3fbd2ff26887abd80bfa3015298417b0 /src/ccapi/test/test_ccapi_log.h | |
| parent | b03001c9aad53a6ecdc8ebef0493882bad0a826c (diff) | |
| download | krb5-9b58ededdc28757a3a203e645094a2cd854434cf.tar.gz krb5-9b58ededdc28757a3a203e645094a2cd854434cf.tar.xz krb5-9b58ededdc28757a3a203e645094a2cd854434cf.zip | |
Added tests for iterators and NC info. Added test programs for
each test. Cleaned up portability issues introduced by Windows
testing.
ticket: 5909
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20270 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/test/test_ccapi_log.h')
| -rw-r--r-- | src/ccapi/test/test_ccapi_log.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ccapi/test/test_ccapi_log.h b/src/ccapi/test/test_ccapi_log.h index 5c3cce010..6305c1845 100644 --- a/src/ccapi/test/test_ccapi_log.h +++ b/src/ccapi/test/test_ccapi_log.h @@ -9,9 +9,11 @@ _log_error(__FILE__, __LINE__, format , ## __VA_ARGS__) void _log_error_v(const char *file, int line, const char *format, va_list ap); -// void _log_error(const char *file, int line, const char *format, ...) __attribute__ ((format (printf, 3, 4))); -void _log_error(const char *file, int line, const char *format, ...); - +void _log_error(const char *file, int line, const char *format, ...) +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) +__attribute__ ((__format__ (__printf__, 3, 4))) +#endif +; void test_header(const char *msg); void test_footer(const char *msg, int err); |
