summaryrefslogtreecommitdiff
path: root/Build/source/texk/gsftopk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-02 15:02:11 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-02 15:02:11 +0000
commitac8cfd7b930d57b6526415a8e67204d207022bda (patch)
tree1f3a0a32860aade97bf67308cd65851967143f88 /Build/source/texk/gsftopk
parentbcaa6454cc914b0d28284675818f73b908e9adea (diff)
avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/gsftopk')
-rw-r--r--Build/source/texk/gsftopk/ChangeLog5
-rw-r--r--Build/source/texk/gsftopk/gsftopk.c16
2 files changed, 10 insertions, 11 deletions
diff --git a/Build/source/texk/gsftopk/ChangeLog b/Build/source/texk/gsftopk/ChangeLog
index 5a3a6432aa9..989c349ecdf 100644
--- a/Build/source/texk/gsftopk/ChangeLog
+++ b/Build/source/texk/gsftopk/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-02 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * gsftopk.c: remove obsolete 'NORETURN void' -> 'volatile void'
+ return type for functions, this may just give a wrning.
+
2009-05-07 Peter Breitenlohner <peb@mppmu.mpg.de>
Adapt to TL2009 build system.
diff --git a/Build/source/texk/gsftopk/gsftopk.c b/Build/source/texk/gsftopk/gsftopk.c
index 233ad6eff90..f2d56917dcf 100644
--- a/Build/source/texk/gsftopk/gsftopk.c
+++ b/Build/source/texk/gsftopk/gsftopk.c
@@ -352,12 +352,6 @@ char *buffer_stdin; /* This is the buffer from where data are taken. */
#define GS_PATH "gs"
#endif
-#if __GNUC__
-#define NORETURN volatile
-#else
-#define NORETURN /* nothing */
-#endif
-
#if STDC_HEADERS && __STDC__
#define NeedVarargsPrototypes 1
#include <stdarg.h>
@@ -529,7 +523,7 @@ int pk_len;
* Exit, and kill the child process, too.
*/
-NORETURN void
+void
exit_toto_too P1H(void)
{
#if !WIN32
@@ -588,11 +582,11 @@ exit_toto_too P1H(void)
*/
#if NeedVarargsPrototypes
-NORETURN void
+void
oops(const char *message, ...)
#else
/* VARARGS */
-NORETURN void
+void
oops(va_alist)
va_dcl
#endif
@@ -620,11 +614,11 @@ oops(va_alist)
* Same as oops, but with arguments.
*/
#if NeedVarargsPrototypes
-NORETURN void
+void
opt_oops(const char *message, ...)
#else
/* VARARGS */
-NORETURN void
+void
opt_oops(va_alist)
va_dcl
#endif