summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-07-26 11:50:34 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-07-26 11:50:34 +0000
commit4ab7de80229178407e4c2540c4b412ebc5fce30e (patch)
tree8c0063091cf8fde0d930a2118d48822c7936e194 /gnu
parent98db8e46b8371e909d258b1d9326049ba2ff8076 (diff)
Prototype for make_temp_file (forgot to commit)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/include/libiberty.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/egcs/include/libiberty.h b/gnu/egcs/include/libiberty.h
index cf313662ef4..316f52a72b6 100644
--- a/gnu/egcs/include/libiberty.h
+++ b/gnu/egcs/include/libiberty.h
@@ -55,10 +55,14 @@ extern int fdmatch PARAMS ((int fd1, int fd2));
extern long get_run_time PARAMS ((void));
-/* Choose a temporary directory to use for scratch files. */
+/* Choose a temporary directory to use for scratch files, DEPRECATED */
extern char *choose_temp_base PARAMS ((void));
+/* Create a temporary file with a given suffix (optional) */
+
+extern char *make_temp_file PARAMS ((char *));
+
/* Allocate memory filled with spaces. Allocates using malloc. */
extern const char *spaces PARAMS ((int count));