diff options
author | Mark Murray <markm@FreeBSD.org> | 2002-03-11 11:26:17 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2002-03-11 11:26:17 +0000 |
commit | 7af8da417837a432c9c87060fef7cfadb84a2627 (patch) | |
tree | b6a3de07a087abcfa14ef12642ad6ba79438bfc7 | |
parent | 66a79b3d49ee48ed8bea3c3b254cff0b2165553e (diff) | |
download | src-7af8da417837a432c9c87060fef7cfadb84a2627.tar.gz src-7af8da417837a432c9c87060fef7cfadb84a2627.zip |
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.
Notes
Notes:
svn path=/head/; revision=92087
-rw-r--r-- | usr.bin/xlint/llib/llib-lposix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/xlint/llib/llib-lposix b/usr.bin/xlint/llib/llib-lposix index f3a5351216ad..dffad25d45f7 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)); |