]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - lib/sh/tmpfile.c
Imported from ../bash-3.2.tar.gz.
[thirdparty/bash.git] / lib / sh / tmpfile.c
index fb7b732dd682453f3303e1b7467ce3e27b9c5efb..5f2279d0e15bfec2e428903b31f47462954ead7b 100644 (file)
@@ -47,6 +47,9 @@ extern int errno;
 
 extern pid_t dollar_dollar_pid;
 
+static char *get_sys_tmpdir __P((void));
+static char *get_tmpdir __P((int));
+
 static char *sys_tmpdir = (char *)NULL;
 static int ntmpfiles;
 static int tmpnamelen = -1;
@@ -55,8 +58,6 @@ static unsigned long filenum = 1L;
 static char *
 get_sys_tmpdir ()
 {
-  struct stat sb;
-
   if (sys_tmpdir)
     return sys_tmpdir;