[PATCH] openbsc[master]: cosmetic: gprs_sgsn.c: move pdp.h include to top

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Aug 22 12:36:05 UTC 2016


Review at  https://gerrit.osmocom.org/726

cosmetic: gprs_sgsn.c: move pdp.h include to top

Change-Id: I9a9b34d714235462ba72cdb65b7c8c9824dfa9c6
---
M openbsc/src/gprs/gprs_sgsn.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/26/726/1

diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c
index 502ba4a..147facf 100644
--- a/openbsc/src/gprs/gprs_sgsn.c
+++ b/openbsc/src/gprs/gprs_sgsn.c
@@ -40,6 +40,8 @@
 #include <openbsc/signal.h>
 #include "openbsc/gprs_llc.h"
 
+#include <pdp.h>
+
 #include <time.h>
 
 #include <openssl/rand.h>
@@ -333,7 +335,6 @@
 	return pdp;
 }
 
-#include <pdp.h>
 /*
  * This function will not trigger any GSM DEACT PDP ACK messages, so you
  * probably want to call sgsn_delete_pdp_ctx() instead if the connection

-- 
To view, visit https://gerrit.osmocom.org/726
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a9b34d714235462ba72cdb65b7c8c9824dfa9c6
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: neels_test_account <neels at hofmeyr.de>



More information about the gerrit-log mailing list