mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-01 20:43:47 +00:00
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.
This commit is contained in:
@@ -20,8 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPENBSC_MGCP_DATA_H
|
#pragma once
|
||||||
#define OPENBSC_MGCP_DATA_H
|
|
||||||
|
|
||||||
#include <osmocom/core/select.h>
|
#include <osmocom/core/select.h>
|
||||||
|
|
||||||
@@ -213,4 +212,3 @@ enum {
|
|||||||
|
|
||||||
#define MGCP_DUMMY_LOAD 0x23
|
#define MGCP_DUMMY_LOAD 0x23
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user