aboutsummaryrefslogtreecommitdiffstats
path: root/src/csn1.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-30 13:29:38 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-19 08:43:45 +0000
commit910a387b0eefa22308446eda7604468ab1a157ad (patch)
tree97e0cbbd2cecacf4fa3ced302c95f3f9cc39df00 /src/csn1.h
parent4382e4e8fe05b59492ab1b38ddb5972831d0b533 (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/csn1.h')
-rw-r--r--src/csn1.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csn1.h b/src/csn1.h
index 3f5b8490..1015e695 100644
--- a/src/csn1.h
+++ b/src/csn1.h
@@ -25,15 +25,15 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef _PACKET_CSN1_H_
+#define _PACKET_CSN1_H_
+
extern "C" {
#include <osmocom/core/bitvec.h>
}
#include <iostream>
#include <cstdlib>
-#ifndef _PACKET_CSN1_H_
-#define _PACKET_CSN1_H_
-
#define MIN(a,b) (((a)<(b))?(a):(b))
//#define max(a,b) (((a)>(b))?(a):(b))