diff options
author | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2012-02-18 16:20:26 +0000 |
---|---|---|
committer | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2012-02-18 16:20:26 +0000 |
commit | c3d1b83b0d235bbe533f2663a708900033ea9f2d (patch) | |
tree | 0e6af0427ada3c017a59027a02f189a47942f719 /libtiff/tiffio.h | |
parent | b2a9c9542ac8a8ca8f1deaee9591021a7c244d0f (diff) | |
download | libtiff-git-c3d1b83b0d235bbe533f2663a708900033ea9f2d.tar.gz |
* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
attribute specification to lessen the risk of accidental macro
substitution. Patch from Vincent Torri.
Diffstat (limited to 'libtiff/tiffio.h')
-rw-r--r-- | libtiff/tiffio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libtiff/tiffio.h b/libtiff/tiffio.h index d223b2c5..6ca74343 100644 --- a/libtiff/tiffio.h +++ b/libtiff/tiffio.h @@ -1,4 +1,4 @@ -/* $Id: tiffio.h,v 1.88 2011-05-17 00:21:17 fwarmerdam Exp $ */ +/* $Id: tiffio.h,v 1.89 2012-02-18 16:20:26 bfriesen Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -437,10 +437,10 @@ extern TIFF* TIFFClientOpen(const char*, const char*, TIFFMapFileProc, TIFFUnmapFileProc); extern const char* TIFFFileName(TIFF*); extern const char* TIFFSetFileName(TIFF*, const char *); -extern void TIFFError(const char*, const char*, ...) __attribute__((format (printf,2,3))); -extern void TIFFErrorExt(thandle_t, const char*, const char*, ...) __attribute__((format (printf,3,4))); -extern void TIFFWarning(const char*, const char*, ...) __attribute__((format (printf,2,3))); -extern void TIFFWarningExt(thandle_t, const char*, const char*, ...) __attribute__((format (printf,3,4))); +extern void TIFFError(const char*, const char*, ...) __attribute__((__format__ (__printf__,2,3))); +extern void TIFFErrorExt(thandle_t, const char*, const char*, ...) __attribute__((__format__ (__printf__,3,4))); +extern void TIFFWarning(const char*, const char*, ...) __attribute__((__format__ (__printf__,2,3))); +extern void TIFFWarningExt(thandle_t, const char*, const char*, ...) __attribute__((__format__ (__printf__,3,4))); extern TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler); extern TIFFErrorHandlerExt TIFFSetErrorHandlerExt(TIFFErrorHandlerExt); extern TIFFErrorHandler TIFFSetWarningHandler(TIFFErrorHandler); |