diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/ttfdump/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/ttfdump/include/ttfutil.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/ttfdump/ChangeLog b/Build/source/texk/ttfdump/ChangeLog index b1230a56a66..f7d5dad3294 100644 --- a/Build/source/texk/ttfdump/ChangeLog +++ b/Build/source/texk/ttfdump/ChangeLog @@ -1,3 +1,7 @@ +2012-03-13 Peter Breitenlohner <peb@mppmu.mpg.de> + + * include/ttfutil.h: Declare ttfError() with attribute noreturn. + 2011-12-01 Peter Breitenlohner <peb@mppmu.mpg.de> * libttf/otfcommon.c: Improved output strings. diff --git a/Build/source/texk/ttfdump/include/ttfutil.h b/Build/source/texk/ttfdump/include/ttfutil.h index 28be2cdd070..81a36dc4731 100644 --- a/Build/source/texk/ttfdump/include/ttfutil.h +++ b/Build/source/texk/ttfdump/include/ttfutil.h @@ -9,8 +9,12 @@ #define EXIT_FAILURE 1 #endif -void FixedSplit(Fixed f, int b[]); +#if defined __GNUC__ && __GNUC__ >=3 +__attribute__((__noreturn__)) +#endif void ttfError(const char *msg); + +void FixedSplit(Fixed f, int b[]); #define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) _x1 << 24 | _x2 << 16 | _x3 << 8 | _x4 char *TagToStr(ULONG tag); |