ports/devel/rcs/files/patch-src__b-fb.h
Koop Mast 1a62f69f93 Fix build with clang 3.6.0 by moving the 'exiting' macro (which is an alias
for the _Noreturn keyword) to the start of the function declaration.

PR:		198011
Submitted by:	dim@ (reported by clang 3.6 exp-run)
Approved by:	maintainer (via IRC)
2015-03-10 09:52:59 +00:00

14 lines
493 B
C

--- src/b-fb.h.orig 2013-04-20 20:08:38.000000000 +0200
+++ src/b-fb.h 2015-02-24 21:58:19.888149000 +0100
@@ -21,9 +21,9 @@
*/
extern int change_mode (int fd, mode_t mode);
-extern void Ierror (void) exiting;
+exiting extern void Ierror (void);
extern void testIerror (FILE *f);
-extern void Oerror (void) exiting;
+exiting extern void Oerror (void);
extern void testOerror (FILE *o);
extern FILE *fopen_safer (char const *filename, char const *type);
extern void Ozclose (FILE **p);