зеркало из https://github.com/mozilla/pjs.git
Fixing enums for the Solaris 5.0 compiler, thanks to Tim McNerney <mumbly@netcom.com> for this change.
This commit is contained in:
Родитель
eee2c5da92
Коммит
0f6515b16c
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "ntypes.h"
|
#include "ntypes.h"
|
||||||
|
|
||||||
typedef enum gh_SortColumn
|
typedef enum _gh_SortColumn
|
||||||
{
|
{
|
||||||
eGH_NoSort = -1,
|
eGH_NoSort = -1,
|
||||||
eGH_NameSort,
|
eGH_NameSort,
|
||||||
|
@ -50,7 +50,7 @@ typedef struct _gh_HistEntryData
|
||||||
char * pszName;
|
char * pszName;
|
||||||
}gh_HistEntryData;
|
}gh_HistEntryData;
|
||||||
|
|
||||||
typedef enum gh_FilterOp
|
typedef enum _gh_FilterOp
|
||||||
{
|
{
|
||||||
eGH_FOEquals,
|
eGH_FOEquals,
|
||||||
eGH_FOEqualsNot,
|
eGH_FOEqualsNot,
|
||||||
|
@ -64,7 +64,7 @@ typedef enum gh_FilterOp
|
||||||
eGH_FOHasNot
|
eGH_FOHasNot
|
||||||
}gh_FilterOp;
|
}gh_FilterOp;
|
||||||
|
|
||||||
typedef enum gh_FilterLogOp
|
typedef enum _gh_FilterLogOp
|
||||||
{
|
{
|
||||||
eGH_FLOAnd,
|
eGH_FLOAnd,
|
||||||
eGH_FLOOr
|
eGH_FLOOr
|
||||||
|
@ -72,8 +72,8 @@ typedef enum gh_FilterLogOp
|
||||||
|
|
||||||
typedef struct _gh_FilterCondition
|
typedef struct _gh_FilterCondition
|
||||||
{
|
{
|
||||||
enum gh_SortColumn enCol;
|
gh_SortColumn enCol;
|
||||||
enum gh_FilterOp enOp;
|
gh_FilterOp enOp;
|
||||||
|
|
||||||
union
|
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
|
// Context/Handle based functions to retrieve a pseudo cursor on the
|
||||||
// Global History list (using a specified sort/index).
|
// 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,
|
gh_Filter * pFilter,
|
||||||
GHISTORY_NOTIFYPROC pfNotifyProc,
|
GHISTORY_NOTIFYPROC pfNotifyProc,
|
||||||
GHURHANDLE hUR,
|
GHURHANDLE hUR,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче