aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm_rlcmac.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-30 13:29:38 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-27 22:27:53 +0100
commit6d026d26cd54a3a0096fd95fbafa1c7411a5aa0f (patch)
tree870e965d676132dd8d9e8eb48f1b805035d4f78d /src/gsm_rlcmac.h
parent5e5c482da25371f97b6fa1113d25405345fb3c68 (diff)
Move include guard to the top
Having explicit include above the douible-include guard defines is potential source for hard to track bugs. Let's move it inside the guard statement. Change-Id: I5114a63ce00b03c8eed23565d52969250bd505cc Related: OS#1539
Diffstat (limited to 'src/gsm_rlcmac.h')
-rw-r--r--src/gsm_rlcmac.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gsm_rlcmac.h b/src/gsm_rlcmac.h
index 8f4039c5..2ad19370 100644
--- a/src/gsm_rlcmac.h
+++ b/src/gsm_rlcmac.h
@@ -29,11 +29,12 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef __PACKET_GSM_RLCMAC_H__
+#define __PACKET_GSM_RLCMAC_H__
+
#include "csn1.h"
#include <iostream>
#include <cstdlib>
-#ifndef __PACKET_GSM_RLCMAC_H__
-#define __PACKET_GSM_RLCMAC_H__
#ifndef PRE_PACKED
#define PRE_PACKED