Removed 'old-style parameter declaration'.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39773 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
stig 2011-11-09 10:05:55 +00:00
parent 7ebfbeda1d
commit d7b1a2678d
1 changed files with 2 additions and 4 deletions

View File

@ -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";