aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-02-12 21:52:18 +0000
committerGuy Harris <guy@alum.mit.edu>2006-02-12 21:52:18 +0000
commit4d8d477018ac51a9536103e34368dc11a37e2ed4 (patch)
treec56e6d197864b79c58abd971ebc5bb2d43af6b10 /util.h
parent4d94f994b56be336d459ebd4585a46a8b6d8c4c1 (diff)
Move create_tempfile() to tempfile.c out of util.c. This means dumpcap
no longer needs util.c, so it no longer includes routines that use host_ip_af(), so it no longer needs to define its own host_ip_af(). That also means dumpcap.c no longer needs to include <sys/socket.h>. svn path=/trunk/; revision=17278
Diffstat (limited to 'util.h')
-rw-r--r--util.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/util.h b/util.h
index eb97e2721f..db80ac0e81 100644
--- a/util.h
+++ b/util.h
@@ -29,14 +29,6 @@
extern "C" {
#endif /* __cplusplus */
-
-/* create a tempfile with the given prefix (e.g. "ether")
- * namebuf (and namebuflen) should be 128+1 bytes long (BTW: why?)
- * returns the file descriptor of the new tempfile and
- * the name of the new file in namebuf
- */
-int create_tempfile(char *namebuf, int namebuflen, const char *pfx);
-
/* Collect command-line arguments as a string consisting of the arguments,
* separated by spaces.
*/