summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/cfree.c
diff options
context:
space:
mode:
authorpat <>2005-03-30 18:51:49 +0000
committerpat <>2005-03-30 18:51:49 +0000
commit894b6ab0099e7d9ca2ad9acb75246cd0a4542167 (patch)
treef9fb8e9324f6cbdc10d72cab8b889d470252465a /src/lib/libc/stdlib/cfree.c
parent162f8b042bf31ab94714a6f194e9836c08c085f5 (diff)
downloadopenbsd-894b6ab0099e7d9ca2ad9acb75246cd0a4542167.tar.gz
openbsd-894b6ab0099e7d9ca2ad9acb75246cd0a4542167.tar.bz2
openbsd-894b6ab0099e7d9ca2ad9acb75246cd0a4542167.zip
ansi + de-register
ok otto deraadt
Diffstat (limited to 'src/lib/libc/stdlib/cfree.c')
-rw-r--r--src/lib/libc/stdlib/cfree.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/cfree.c b/src/lib/libc/stdlib/cfree.c
index ecbc11d6c3..db1fa56039 100644
--- a/src/lib/libc/stdlib/cfree.c
+++ b/src/lib/libc/stdlib/cfree.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cfree.c,v 1.3 2003/07/18 23:05:13 david Exp $ */ 1/* $OpenBSD: cfree.c,v 1.4 2005/03/30 18:51:49 pat Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> 4 * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -26,7 +26,7 @@
26 */ 26 */
27 27
28#if defined(LIBC_SCCS) && !defined(lint) 28#if defined(LIBC_SCCS) && !defined(lint)
29static char rcsid[] = "$OpenBSD: cfree.c,v 1.3 2003/07/18 23:05:13 david Exp $"; 29static char rcsid[] = "$OpenBSD: cfree.c,v 1.4 2005/03/30 18:51:49 pat Exp $";
30#endif /* LIBC_SCCS and not lint */ 30#endif /* LIBC_SCCS and not lint */
31 31
32#include <sys/cdefs.h> 32#include <sys/cdefs.h>
@@ -37,8 +37,7 @@ __indr_reference(free, cfree);
37#else 37#else
38 38
39void 39void
40cfree(p) 40cfree(void *p)
41 void *p;
42{ 41{
43 free(p); 42 free(p);
44} 43}