From 0f6515b16c93e1675be9d40ee2542d22a8f197e2 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Fri, 5 Mar 1999 09:29:52 +0000 Subject: [PATCH] Fixing enums for the Solaris 5.0 compiler, thanks to Tim McNerney for this change. --- include/glhist.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/glhist.h b/include/glhist.h index 4416c043880..df540b70c77 100644 --- a/include/glhist.h +++ b/include/glhist.h @@ -21,7 +21,7 @@ #include "ntypes.h" -typedef enum gh_SortColumn +typedef enum _gh_SortColumn { eGH_NoSort = -1, eGH_NameSort, @@ -50,7 +50,7 @@ typedef struct _gh_HistEntryData char * pszName; }gh_HistEntryData; -typedef enum gh_FilterOp +typedef enum _gh_FilterOp { eGH_FOEquals, eGH_FOEqualsNot, @@ -64,7 +64,7 @@ typedef enum gh_FilterOp eGH_FOHasNot }gh_FilterOp; -typedef enum gh_FilterLogOp +typedef enum _gh_FilterLogOp { eGH_FLOAnd, eGH_FLOOr @@ -72,8 +72,8 @@ typedef enum gh_FilterLogOp typedef struct _gh_FilterCondition { - enum gh_SortColumn enCol; - enum gh_FilterOp enOp; + gh_SortColumn enCol; + gh_FilterOp enOp; union { @@ -157,7 +157,7 @@ extern int NET_DisplayGlobalHistoryInfoAsHTML( MWContext *context, URL_Struct *U // Context/Handle based functions to retrieve a pseudo cursor on the // Global History list (using a specified sort/index). */ -extern GHHANDLE GH_GetContext( enum gh_SortColumn enGHSort, +extern GHHANDLE GH_GetContext( gh_SortColumn enGHSort, gh_Filter * pFilter, GHISTORY_NOTIFYPROC pfNotifyProc, GHURHANDLE hUR,