mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-20 08:37:55 +07:00
journal: avoid re-definition of enums for older gcc versions
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | In file included from src/journal/sd-journal.c:37:0: > | src/journal/journal-internal.h:47:3: error: redefinition of typedef 'MatchType' > | src/journal/journal-internal.h:36:24: note: previous declaration of 'MatchType' was here > | src/journal/journal-internal.h:67:3: error: redefinition of typedef 'LocationType' > | src/journal/journal-internal.h:37:27: note: previous declaration of 'LocationType' was here
This commit is contained in:
parent
8432ecabac
commit
dbfd912258
@ -33,9 +33,6 @@
|
||||
#include "hashmap.h"
|
||||
#include "journal-file.h"
|
||||
|
||||
typedef enum MatchType MatchType;
|
||||
typedef enum LocationType LocationType;
|
||||
|
||||
typedef struct Match Match;
|
||||
typedef struct Location Location;
|
||||
typedef struct Directory Directory;
|
||||
|
Loading…
Reference in New Issue
Block a user