chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a33dece
)
rtnl: headers in src/systemd/ may not use #pragma once
author
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Nov 2013 02:40:43 +0000
(
03:40
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Nov 2013 02:40:43 +0000
(
03:40
+0100)
src/systemd/sd-rtnl.h
patch
|
blob
|
history
diff --git
a/src/systemd/sd-rtnl.h
b/src/systemd/sd-rtnl.h
index 289f96b5b9123ae50d2e8ad460c725248229831e..0066f54d58f97c3e3626230a03ea44f9ed14a6cb 100644
(file)
--- a/
src/systemd/sd-rtnl.h
+++ b/
src/systemd/sd-rtnl.h
@@
-1,5
+1,8
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+#ifndef foosdrtnlhfoo
+#define foosdrtnlhfoo
+
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-19,8
+22,6
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#pragma once
-
#include <inttypes.h>
typedef struct sd_rtnl sd_rtnl;
#include <inttypes.h>
typedef struct sd_rtnl sd_rtnl;
@@
-51,3
+52,5
@@
sd_rtnl_message *sd_rtnl_message_unref(sd_rtnl_message *m);
int sd_rtnl_message_get_type(sd_rtnl_message *m, uint16_t *type);
int sd_rtnl_message_append(sd_rtnl_message *m, unsigned short type, const void *data);
int sd_rtnl_message_read(sd_rtnl_message *m, unsigned short *type, void **data);
int sd_rtnl_message_get_type(sd_rtnl_message *m, uint16_t *type);
int sd_rtnl_message_append(sd_rtnl_message *m, unsigned short type, const void *data);
int sd_rtnl_message_read(sd_rtnl_message *m, unsigned short *type, void **data);
+
+#endif