Module Name:    src
Committed By:   joerg
Date:           Fri Sep 16 16:09:47 UTC 2011

Modified Files:
        src/external/historical/nawk/dist: main.c proto.h

Log Message:
Use __dead


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/main.c
cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/dist/proto.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/historical/nawk/dist/main.c
diff -u src/external/historical/nawk/dist/main.c:1.5 src/external/historical/nawk/dist/main.c:1.6
--- src/external/historical/nawk/dist/main.c:1.5	Mon Apr 18 15:23:28 2011
+++ src/external/historical/nawk/dist/main.c	Fri Sep 16 16:09:46 2011
@@ -71,7 +71,7 @@
 	return NULL;
 }
 
-static void fpecatch(int n
+__dead static void fpecatch(int n
 #ifdef SA_SIGINFO
 	, siginfo_t *si, void *uc
 #endif

Index: src/external/historical/nawk/dist/proto.h
diff -u src/external/historical/nawk/dist/proto.h:1.4 src/external/historical/nawk/dist/proto.h:1.5
--- src/external/historical/nawk/dist/proto.h:1.4	Sat May 28 15:13:04 2011
+++ src/external/historical/nawk/dist/proto.h	Fri Sep 16 16:09:46 2011
@@ -46,7 +46,7 @@
 extern	int	hexstr(const uschar **);
 extern	int	quoted(const uschar **);
 extern	char	*cclenter(const char *);
-extern	void	overflo(const char *);
+extern	void	overflo(const char *) __dead;
 extern	void	cfoll(fa *, Node *);
 extern	int	first(Node *);
 extern	void	follow(Node *);
@@ -137,7 +137,7 @@
 extern	void	bcheck2(int, int, int);
 extern	void	SYNTAX(const char *, ...)
     __attribute__((__format__(__printf__, 1, 2)));
-extern	void	FATAL(const char *, ...)
+extern	void	FATAL(const char *, ...) __dead
     __attribute__((__format__(__printf__, 1, 2)));
 extern	void	WARNING(const char *, ...)
     __attribute__((__format__(__printf__, 1, 2)));

Reply via email to