summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-03-11 11:26:17 +0000
committermarkm <markm@FreeBSD.org>2002-03-11 11:26:17 +0000
commit0bea1968bca059cc5d2957905e8fba1fcf0fdd0b (patch)
treeb6a3de07a087abcfa14ef12642ad6ba79438bfc7 /usr.bin/xlint
parenta19391e8bd85d3c012b3a80017af2c5e83dd18b8 (diff)
downloadFreeBSD-src-0bea1968bca059cc5d2957905e8fba1fcf0fdd0b.zip
FreeBSD-src-0bea1968bca059cc5d2957905e8fba1fcf0fdd0b.tar.gz
Fix a prototype to match our headers. I am not convinced that doing
this in this file is the correct way round. (Maybe our definition of __assert is wrong?) Anyway, perhaps we should revisit this later. For the time being, building lint libraries here does not blow up.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/llib/llib-lposix6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/xlint/llib/llib-lposix b/usr.bin/xlint/llib/llib-lposix
index f3a5351..dffad25 100644
--- a/usr.bin/xlint/llib/llib-lposix
+++ b/usr.bin/xlint/llib/llib-lposix
@@ -1,4 +1,5 @@
-/* $NetBSD$ */
+/* $NetBSD: llib-lposix,v 1.2 1995/07/03 21:25:09 cgd Exp $ */
+/* $FreeBSD$ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -69,7 +70,8 @@ double (acos)(double x);
unsigned (alarm)(unsigned seconds);
char *(asctime)(const struct tm *timeptr);
double (asin)(double x);
-void (__assert)(const char *expression, int line, const char *file);
+void (__assert)(const char *expression, const char *func, int line,
+ const char *file);
double (atan)(double x);
double (atan2)(double y, double x);
int (atexit)(void (*func)(void));
OpenPOWER on IntegriCloud