aboutsummaryrefslogtreecommitdiffstats
path: root/globals.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-25 04:31:17 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-25 04:31:17 +0000
commit8e68faf22fb36bf7c5142f5ff50f63213392fc64 (patch)
tree80c7dd86a404b6700b2b6a916ae3c71dd87c6fa2 /globals.h
parentb7a9eca9ba9b52243d1e6f214115a93164d3ea66 (diff)
Encapsulate the code to take a pointer to a pathname and return a
pointer to the name of the file to which it refers (i.e., to the last component of the pathname) in a "get_basename()" routine, and have the code in "file.c" call it. svn path=/trunk/; revision=1552
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/globals.h b/globals.h
index c8766d9388..71e29bd526 100644
--- a/globals.h
+++ b/globals.h
@@ -1,7 +1,7 @@
/* globals.h
* Global defines, etc.
*
- * $Id: globals.h,v 1.16 2000/01/25 00:17:01 guy Exp $
+ * $Id: globals.h,v 1.17 2000/01/25 04:31:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -74,13 +74,6 @@
# define MIN(x, y) ((x) < (y) ? (x) : (y))
#endif
-/* Pathname separator. */
-#ifdef WIN32
-#define PATH_SEPARATOR '\\'
-#else
-#define PATH_SEPARATOR '/'
-#endif
-
extern FILE *data_out_file;
extern packet_info pi;
extern capture_file cf;