[MERGED] osmo-pcu[master]: gprs_debug.h: remove unused cruft / cosmetic tweaks

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Feb 22 17:49:18 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: gprs_debug.h: remove unused cruft / cosmetic tweaks
......................................................................


gprs_debug.h: remove unused cruft / cosmetic tweaks

Change-Id: Ied1ffc320332a605b140d23910eb0a13ef9a7a75
---
M src/gprs_debug.h
1 file changed, 3 insertions(+), 18 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gprs_debug.h b/src/gprs_debug.h
index 817c41e..863d76b 100644
--- a/src/gprs_debug.h
+++ b/src/gprs_debug.h
@@ -16,9 +16,8 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
- 
-#ifndef GPRS_DEBUG_H
-#define GPRS_DEBUG_H
+
+#pragma once
 
 #include <stdio.h>
 #ifdef __cplusplus
@@ -29,6 +28,7 @@
 #ifdef __cplusplus
 };
 #endif
+
 /* Debug Areas of the code */
 enum {
 	DCSN1,
@@ -45,19 +45,4 @@
 	aDebug_LastEntry
 };
 
-/* we don't need a header dependency for this... */
-
-struct gprs_nsvc;
-struct bssgp_bvc_ctx;
-
-void log_set_imsi_filter(struct log_target *target, const char *imsi);
-void log_set_nsvc_filter(struct log_target *target,
-			 struct gprs_nsvc *nsvc);
-void log_set_bvc_filter(struct log_target *target,
-			struct bssgp_bvc_ctx *bctx);
-
 extern const struct log_info gprs_log_info;
-
-
-
-#endif // GPRS_DEBUG_H

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ied1ffc320332a605b140d23910eb0a13ef9a7a75
Gerrit-PatchSet: 2
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list