aboutsummaryrefslogtreecommitdiffstats
path: root/gl/lib/tempname.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/tempname.h')
-rw-r--r--gl/lib/tempname.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gl/lib/tempname.h b/gl/lib/tempname.h
index c51fa6942..4e0469b3f 100644
--- a/gl/lib/tempname.h
+++ b/gl/lib/tempname.h
@@ -1,6 +1,6 @@
/* Create a temporary file or directory.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,4 +37,6 @@
GT_DIR: create a directory, which will be mode 0700.
We use a clever algorithm to get hard-to-predict names. */
+#include <stddef.h>
extern int gen_tempname (char *tmpl, int kind);
+extern int gen_tempname_len (char *tmpl, int kind, size_t x_suffix_len);