diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-11-09 10:05:55 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-11-09 10:05:55 +0000 |
commit | 4052a406f3b8bd04994290c8c6e7fd0c0ad2e823 (patch) | |
tree | ea84456c54f4686d13a63887eabbb4aae68a10bc | |
parent | a25e421a101a8ae1f8deab2aa6dd34389b0fda30 (diff) |
Removed 'old-style parameter declaration'.
svn path=/trunk/; revision=39773
-rw-r--r-- | tempfile.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tempfile.c b/tempfile.c index c3cf976589..5f19b78d50 100644 --- a/tempfile.c +++ b/tempfile.c @@ -66,8 +66,7 @@ they are replaced with a string that makes the filename unique. Returns a file descriptor open on the file for reading and writing. */ static int -mkstemp (template) - char *template; +mkstemp (char *template) { static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; @@ -111,8 +110,7 @@ mkstemp (template) they are replaced with a string that makes the filename unique. Returns 0 on success or -1 on error (from mkdir(2)). */ char * -mkdtemp (template) - char *template; +mkdtemp (char *template) { static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; |