diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-22 17:06:14 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-26 08:17:45 +0200 |
commit | f6b61e61543959482731f2042584773b7fa0d7be (patch) | |
tree | 696bd99faee89f4b7d04d02a44f028b1ab5636b8 /openbsc/include | |
parent | ee41ecff98379e38c2dcfb35c86ae8bd19c7b811 (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.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 4 |
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 |