aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio/tmpnam.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2013-04-23 14:36:44 +0000
committerEd Maste <emaste@FreeBSD.org>2013-04-23 14:36:44 +0000
commit5a6307cf42c5b4965435b3b7af74a37fd4dc17b9 (patch)
treeeee3d4211d69ff36f950fb608985ae69d9c4c4e1 /lib/libc/stdio/tmpnam.c
parent5628dd089340472da80d5e3cce2108e155592ecd (diff)
Convert libc/stdio from K&R to ANSI C
And add '__restrict' where it appeared in the header prototypes
Notes
Notes: svn path=/head/; revision=249810
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
-rw-r--r--lib/libc/stdio/tmpnam.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/tmpnam.c b/lib/libc/stdio/tmpnam.c
index d395665e7bf2..ce32dcc28149 100644
--- a/lib/libc/stdio/tmpnam.c
+++ b/lib/libc/stdio/tmpnam.c
@@ -47,8 +47,7 @@ __warn_references(tmpnam,
extern char *_mktemp(char *);
char *
-tmpnam(s)
- char *s;
+tmpnam(char *s)
{
static u_long tmpcount;
static char buf[L_tmpnam];