summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-11-04 23:27:55 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-11-04 23:27:55 +0000
commit233143718b748a028e5cc30e702468ddfd5c911a (patch)
treea378a167838ee38d561304ee791a73a6d41c6acb
parenta15c8a68408bc6d011c09538f6a9cf9d1c29b12c (diff)
Ghostscript port refused to build with 'printf' in the
__attribute__ statement. Using '__printf__' makes it happy. ok millert@ miod@
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 675a4d11615..35cc374813b 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdlib.h,v 1.14 2001/11/01 23:52:10 miod Exp $ */
+/* $OpenBSD: stdlib.h,v 1.15 2001/11/04 23:27:54 krw Exp $ */
/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*-
@@ -186,7 +186,7 @@ int putenv __P((const char *));
int setenv __P((const char *, const char *, int));
void unsetenv __P((const char *));
void setproctitle __P((const char *, ...))
- __attribute__((__format__ (printf, 1, 2)));
+ __attribute__((__format__ (__printf__, 1, 2)));
quad_t qabs __P((quad_t));
qdiv_t qdiv __P((quad_t, quad_t));