summaryrefslogtreecommitdiff
path: root/tempfile.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-11-09 10:05:55 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-11-09 10:05:55 +0000
commit4052a406f3b8bd04994290c8c6e7fd0c0ad2e823 (patch)
treeea84456c54f4686d13a63887eabbb4aae68a10bc /tempfile.c
parenta25e421a101a8ae1f8deab2aa6dd34389b0fda30 (diff)
downloadwireshark-4052a406f3b8bd04994290c8c6e7fd0c0ad2e823.tar.gz
Removed 'old-style parameter declaration'.
svn path=/trunk/; revision=39773
Diffstat (limited to 'tempfile.c')
-rw-r--r--tempfile.c6
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";