aboutsummaryrefslogtreecommitdiff
path: root/src/temp
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp')
-rw-r--r--src/temp/__randname.c8
-rw-r--r--src/temp/mkdtemp.c8
-rw-r--r--src/temp/mkostemp.c8
-rw-r--r--src/temp/mkostemps.c8
-rw-r--r--src/temp/mkstemp.c8
-rw-r--r--src/temp/mkstemps.c8
-rw-r--r--src/temp/mktemp.c8
7 files changed, 56 insertions, 0 deletions
diff --git a/src/temp/__randname.c b/src/temp/__randname.c
index e9b970f1..fdc6484c 100644
--- a/src/temp/__randname.c
+++ b/src/temp/__randname.c
@@ -17,3 +17,11 @@ char *__randname(char *template)
return template;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif
diff --git a/src/temp/mkdtemp.c b/src/temp/mkdtemp.c
index 5708257b..0dee3cf4 100644
--- a/src/temp/mkdtemp.c
+++ b/src/temp/mkdtemp.c
@@ -21,3 +21,11 @@ char *mkdtemp(char *template)
memcpy(template+l-6, "XXXXXX", 6);
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif
diff --git a/src/temp/mkostemp.c b/src/temp/mkostemp.c
index e3dfdd91..93e865d6 100644
--- a/src/temp/mkostemp.c
+++ b/src/temp/mkostemp.c
@@ -5,3 +5,11 @@ int mkostemp(char *template, int flags)
{
return __mkostemps(template, 0, flags);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif
diff --git a/src/temp/mkostemps.c b/src/temp/mkostemps.c
index 093d2380..e22d215c 100644
--- a/src/temp/mkostemps.c
+++ b/src/temp/mkostemps.c
@@ -26,3 +26,11 @@ int __mkostemps(char *template, int len, int flags)
}
weak_alias(__mkostemps, mkostemps);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif
diff --git a/src/temp/mkstemp.c b/src/temp/mkstemp.c
index 76c835bb..402b6085 100644
--- a/src/temp/mkstemp.c
+++ b/src/temp/mkstemp.c
@@ -4,3 +4,11 @@ int mkstemp(char *template)
{
return __mkostemps(template, 0, 0);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif
diff --git a/src/temp/mkstemps.c b/src/temp/mkstemps.c
index f8eabfec..d42c3ecf 100644
--- a/src/temp/mkstemps.c
+++ b/src/temp/mkstemps.c
@@ -5,3 +5,11 @@ int mkstemps(char *template, int len)
{
return __mkostemps(template, len, 0);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif
diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c
index 7b3d2648..071366bc 100644
--- a/src/temp/mktemp.c
+++ b/src/temp/mktemp.c
@@ -28,3 +28,11 @@ char *mktemp(char *template)
errno = EEXIST;
return template;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif