OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmocore?expand=0&rev=2
26 lines
707 B
Diff
26 lines
707 B
Diff
From d0ce550251f8d1809f768428c11da0f80f940f10 Mon Sep 17 00:00:00 2001
|
|
From: Holger Hans Peter Freyther <zecke@selfish.org>
|
|
Date: Sun, 21 Apr 2013 21:04:19 +0200
|
|
Subject: [PATCH] osmo-arfcn: Return something from the method
|
|
|
|
This is a fatal error when building RPMs for OpenSUSE.
|
|
---
|
|
utils/osmo-arfcn.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/utils/osmo-arfcn.c b/utils/osmo-arfcn.c
|
|
index 2be3958..5103c97 100644
|
|
--- a/utils/osmo-arfcn.c
|
|
+++ b/utils/osmo-arfcn.c
|
|
@@ -77,6 +77,7 @@ static int freq2arfcn(int freq10, int uplink)
|
|
printf("%s: ARFCN %4d\n",
|
|
gsm_band_name(gsm_arfcn2band(arfcn)),
|
|
arfcn & ~ARFCN_FLAG_MASK);
|
|
+ return 0;
|
|
}
|
|
|
|
static void help(const char *progname)
|
|
--
|
|
1.8.2
|
|
|