diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-01-25 04:31:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-01-25 04:31:17 +0000 |
commit | 8e68faf22fb36bf7c5142f5ff50f63213392fc64 (patch) | |
tree | 80c7dd86a404b6700b2b6a916ae3c71dd87c6fa2 /globals.h | |
parent | b7a9eca9ba9b52243d1e6f214115a93164d3ea66 (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.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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; |