From f6b61e61543959482731f2042584773b7fa0d7be Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 22 May 2014 17:06:14 +0200 Subject: [PATCH] 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. --- openbsc/include/openbsc/mgcp_internal.h | 4 +--- 1 file changed, 1 insertion(+), 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 @@ -213,4 +212,3 @@ enum { #define MGCP_DUMMY_LOAD 0x23 -#endif