From 8e68faf22fb36bf7c5142f5ff50f63213392fc64 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 25 Jan 2000 04:31:17 +0000 Subject: 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 --- globals.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'globals.h') 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 @@ -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; -- cgit v1.2.3