diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-28 16:54:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-28 16:54:08 +0000 |
commit | 05e13ba6e42f37d47b45ee722e52a78953465817 (patch) | |
tree | 739af77b8cc573d0172250eaa11f00aab71b706a /lib/libc | |
parent | c66e0d7c327522b1fae81a37077150575f7b2dc9 (diff) |
make Lint prototypes equal; ok millert
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/Lint_brk.c | 6 | ||||
-rw-r--r-- | lib/libc/sys/Lint_sbrk.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/Lint_brk.c b/lib/libc/sys/Lint_brk.c index a652d8ebc3a..3d194b81941 100644 --- a/lib/libc/sys/Lint_brk.c +++ b/lib/libc/sys/Lint_brk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: Lint_brk.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */ +/* $OpenBSD: Lint_brk.c,v 1.3 2005/11/28 16:54:07 deraadt Exp $ */ /* $NetBSD: Lint_brk.c,v 1.1 1997/11/06 00:52:52 cgd Exp $ */ /* @@ -9,8 +9,8 @@ #include <unistd.h> /*ARGSUSED*/ -char * -brk(const char *addr) +void * +brk(void *addr) { return (0); } diff --git a/lib/libc/sys/Lint_sbrk.c b/lib/libc/sys/Lint_sbrk.c index 597a81eb752..6be97b05a64 100644 --- a/lib/libc/sys/Lint_sbrk.c +++ b/lib/libc/sys/Lint_sbrk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: Lint_sbrk.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */ +/* $OpenBSD: Lint_sbrk.c,v 1.3 2005/11/28 16:54:07 deraadt Exp $ */ /* $NetBSD: Lint_sbrk.c,v 1.1 1997/11/06 00:53:04 cgd Exp $ */ /* @@ -9,7 +9,7 @@ #include <unistd.h> /*ARGSUSED*/ -char * +void * sbrk(int incr) { return (0); |