diff options
author | ed <ed@FreeBSD.org> | 2009-12-05 19:31:38 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-05 19:31:38 +0000 |
commit | 06fcc20479dbea7b80fde60d667c7455ca58c451 (patch) | |
tree | 7888f1fc2bd55cbcf966048d3b4db70a78bdb2b3 /lib/libc/sys/__error.c | |
parent | e912442e98904e4d3d77ac344f9a353688ca3e9f (diff) | |
download | FreeBSD-src-06fcc20479dbea7b80fde60d667c7455ca58c451.zip FreeBSD-src-06fcc20479dbea7b80fde60d667c7455ca58c451.tar.gz |
Fix many "function declaration isn't a prototype" warnings in libc.
I've only fixed code that seems to be written by `us'. There are still
many warnings like this present in resolv/, rpc/, stdtime/ and yp/.
Diffstat (limited to 'lib/libc/sys/__error.c')
-rw-r--r-- | lib/libc/sys/__error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/__error.c b/lib/libc/sys/__error.c index d7b5529..c3f59f8 100644 --- a/lib/libc/sys/__error.c +++ b/lib/libc/sys/__error.c @@ -39,7 +39,7 @@ extern int errno; __weak_reference(__error_unthreaded, __error); int * -__error_unthreaded() +__error_unthreaded(void) { return(&errno); } |