summaryrefslogtreecommitdiff
path: root/src/journal/journal-rate-limit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journal-rate-limit.h')
-rw-r--r--src/journal/journal-rate-limit.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/journal/journal-rate-limit.h b/src/journal/journal-rate-limit.h
index cbf526c64f..648ab22786 100644
--- a/src/journal/journal-rate-limit.h
+++ b/src/journal/journal-rate-limit.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foojournalratelimithfoo
-#define foojournalratelimithfoo
+#pragma once
/***
This file is part of systemd.
@@ -30,5 +29,3 @@ typedef struct JournalRateLimit JournalRateLimit;
JournalRateLimit *journal_rate_limit_new(usec_t interval, unsigned burst);
void journal_rate_limit_free(JournalRateLimit *r);
int journal_rate_limit_test(JournalRateLimit *r, const char *id, int priority, uint64_t available);
-
-#endif