summaryrefslogtreecommitdiff
path: root/src/temp
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp')
-rw-r--r--src/temp/__randname.c2
-rw-r--r--src/temp/mkdtemp.c2
-rw-r--r--src/temp/mkostemp.c2
-rw-r--r--src/temp/mkostemps.c2
-rw-r--r--src/temp/mkstemp.c2
-rw-r--r--src/temp/mkstemps.c2
-rw-r--r--src/temp/mktemp.c2
7 files changed, 0 insertions, 14 deletions
diff --git a/src/temp/__randname.c b/src/temp/__randname.c
index 464b83d5..2bce37a0 100644
--- a/src/temp/__randname.c
+++ b/src/temp/__randname.c
@@ -1,8 +1,6 @@
#include <time.h>
#include <stdint.h>
-int __clock_gettime(clockid_t, struct timespec *);
-
/* This assumes that a check for the
template size has already been made */
char *__randname(char *template)
diff --git a/src/temp/mkdtemp.c b/src/temp/mkdtemp.c
index 6c2c16ef..5708257b 100644
--- a/src/temp/mkdtemp.c
+++ b/src/temp/mkdtemp.c
@@ -3,8 +3,6 @@
#include <errno.h>
#include <sys/stat.h>
-char *__randname(char *);
-
char *mkdtemp(char *template)
{
size_t l = strlen(template);
diff --git a/src/temp/mkostemp.c b/src/temp/mkostemp.c
index e73e22a6..4fe57137 100644
--- a/src/temp/mkostemp.c
+++ b/src/temp/mkostemp.c
@@ -2,8 +2,6 @@
#include <stdlib.h>
#include "libc.h"
-int __mkostemps(char *, int, int);
-
int mkostemp(char *template, int flags)
{
return __mkostemps(template, 0, flags);
diff --git a/src/temp/mkostemps.c b/src/temp/mkostemps.c
index 43d95c41..d1464b45 100644
--- a/src/temp/mkostemps.c
+++ b/src/temp/mkostemps.c
@@ -6,8 +6,6 @@
#include <errno.h>
#include "libc.h"
-char *__randname(char *);
-
int __mkostemps(char *template, int len, int flags)
{
size_t l = strlen(template);
diff --git a/src/temp/mkstemp.c b/src/temp/mkstemp.c
index 85764af7..19d40148 100644
--- a/src/temp/mkstemp.c
+++ b/src/temp/mkstemp.c
@@ -1,8 +1,6 @@
#include <stdlib.h>
#include "libc.h"
-int __mkostemps(char *, int, int);
-
int mkstemp(char *template)
{
return __mkostemps(template, 0, 0);
diff --git a/src/temp/mkstemps.c b/src/temp/mkstemps.c
index fda710b0..f2ab1bd3 100644
--- a/src/temp/mkstemps.c
+++ b/src/temp/mkstemps.c
@@ -2,8 +2,6 @@
#include <stdlib.h>
#include "libc.h"
-int __mkostemps(char *, int, int);
-
int mkstemps(char *template, int len)
{
return __mkostemps(template, len, 0);
diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c
index 4ab0df20..7b3d2648 100644
--- a/src/temp/mktemp.c
+++ b/src/temp/mktemp.c
@@ -4,8 +4,6 @@
#include <errno.h>
#include <sys/stat.h>
-char *__randname(char *);
-
char *mktemp(char *template)
{
size_t l = strlen(template);