aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/ctrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-21 15:42:44 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:42:44 +0200
commit5ddd435919073d71f788858b2334ff249142271f (patch)
treeac2292346992fae413fa9d716246cd65c208d490 /include/osmocom/ctrl
parentNew <osmocom/ctrl/ports.h> file listing tcp ports for CTRL interface (diff)
downloadlibosmocore-5ddd435919073d71f788858b2334ff249142271f.tar.xz
libosmocore-5ddd435919073d71f788858b2334ff249142271f.zip
Convert recently-introduced header files to #pragma once
Diffstat (limited to 'include/osmocom/ctrl')
-rw-r--r--include/osmocom/ctrl/control_cmd.h5
-rw-r--r--include/osmocom/ctrl/control_if.h6
2 files changed, 2 insertions, 9 deletions
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h
index e38db037..9e949631 100644
--- a/include/osmocom/ctrl/control_cmd.h
+++ b/include/osmocom/ctrl/control_cmd.h
@@ -1,5 +1,4 @@
-#ifndef _CONTROL_CMD_H
-#define _CONTROL_CMD_H
+#pragma once
#include <osmocom/core/msgb.h>
#include <osmocom/core/talloc.h>
@@ -174,5 +173,3 @@ static int verify_##cmdname(struct ctrl_cmd *cmd, const char *value, void *data)
CTRL_CMD_DEFINE_STRUCT(cmdname, cmdstr, verify_##cmdname)
struct gsm_network;
-
-#endif /* _CONTROL_CMD_H */
diff --git a/include/osmocom/ctrl/control_if.h b/include/osmocom/ctrl/control_if.h
index 3ac8bb6c..00caacc2 100644
--- a/include/osmocom/ctrl/control_if.h
+++ b/include/osmocom/ctrl/control_if.h
@@ -1,5 +1,4 @@
-#ifndef _CONTROL_IF_H
-#define _CONTROL_IF_H
+#pragma once
#include <osmocom/core/write_queue.h>
#include <osmocom/ctrl/control_cmd.h>
@@ -25,6 +24,3 @@ struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port,
ctrl_cmd_lookup lookup);
int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data);
-
-#endif /* _CONTROL_IF_H */
-