summaryrefslogtreecommitdiffstats
path: root/include/assert.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commit300518c0a10b4f5030e23380da07c906a3ee80dc (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/assert.h
parenta931cab8794b686ee088069d9a62bcfec63c5b1b (diff)
downloadFreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.zip
FreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.tar.gz
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/assert.h b/include/assert.h
index 19800fd..f267a4a 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -55,15 +55,10 @@
#else
#define _assert(e) assert(e)
-#ifdef __STDC__
#define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \
__LINE__, #e))
-#else /* !__STDC__ */
-#define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \
- __LINE__, "e"))
-#endif /* __STDC__ */
#endif /* NDEBUG */
__BEGIN_DECLS
-void __assert __P((const char *, const char *, int, const char *));
+void __assert(const char *, const char *, int, const char *);
__END_DECLS
OpenPOWER on IntegriCloud