From e980dd9d3bfe00047bc454a2a68d590c2deb37ea Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 21 Oct 2001 21:48:00 +0000 Subject: Use G_DIR_SEPARATOR_S rather than "/" as a pathname separator in format strings used to generate pathnames. Move the definition of PF_DIR from to , so that files requiring only the definition of PF_DIR don't have to include , and get rid of no-longer-necessary includes of . Add a routine to get the directory for "system files" such as "/etc/ethers" - it's "/etc" on UNIX, and the datafile directory on Windows (as there's no "/etc" on Windows). Use that to construct the pathname of the ethers and ipxnet files. svn path=/trunk/; revision=4056 --- epan/plugins.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'epan/plugins.c') diff --git a/epan/plugins.c b/epan/plugins.c index 9594fdcf01..8ad868514c 100644 --- a/epan/plugins.c +++ b/epan/plugins.c @@ -1,7 +1,7 @@ /* plugins.c * plugin routines * - * $Id: plugins.c,v 1.34 2001/09/14 09:27:35 guy Exp $ + * $Id: plugins.c,v 1.35 2001/10/21 21:47:58 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -26,7 +26,6 @@ # include "config.h" #endif -#include #include "plugins.h" #ifdef HAVE_PLUGINS -- cgit v1.2.3