diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-15 14:56:57 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-15 14:56:57 +0200 |
commit | dbfd9122583baea644fc727466ce30a6b5fd2706 (patch) | |
tree | e611297f4afb4bc3c9bcbefa26ad31ed9155afe1 /src/journal | |
parent | 8432ecabacf15d8b0faf455a99980a42a00b4c08 (diff) |
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
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journal-internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h index 482ef61b9a..64d05f0e1e 100644 --- a/src/journal/journal-internal.h +++ b/src/journal/journal-internal.h @@ -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; |