diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-03-14 08:02:11 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-03-14 08:02:11 +0000 |
commit | 60a7938fa1f7aad6b7b8c8b32bf9332c32eae0bf (patch) | |
tree | 8f175f656c34ddb37f02bf4a4b57ccea9fb55c76 /Build/source | |
parent | 5377bdf77fe92d98a83f03deb15178059cee5e57 (diff) |
ttfdump: Declare ttfError() with attribute noreturn
git-svn-id: svn://tug.org/texlive/trunk@25638 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-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); |