aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-12 21:52:18 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-12 21:52:18 +0000
commit32824a0843e56f095232a83ce533b98393ad519b (patch)
treec56e6d197864b79c58abd971ebc5bb2d43af6b10 /util.h
parent1b8954ef96c36e9c01e307d866c172ce621177e0 (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>. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17278 f5534014-38df-0310-8fa8-9805f1628bb7
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.
*/