aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-22 17:06:14 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-26 08:17:45 +0200
commitf6b61e61543959482731f2042584773b7fa0d7be (patch)
tree696bd99faee89f4b7d04d02a44f028b1ab5636b8
parentee41ecff98379e38c2dcfb35c86ae8bd19c7b811 (diff)
mgcp: Use #pragma once instead of a possible clashing #ifdef
The filename is mgcp_internal.h but the define refers to MGCP_DATA. Avoid having a potential clash by using the #pragma once option.
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index 8fe9f8182..52bf55843 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef OPENBSC_MGCP_DATA_H
-#define OPENBSC_MGCP_DATA_H
+#pragma once
#include <osmocom/core/select.h>
@@ -213,4 +212,3 @@ enum {
#define MGCP_DUMMY_LOAD 0x23
-#endif