aboutsummaryrefslogtreecommitdiffstats
path: root/utils/osmo-aka-verify.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-11-03 11:05:58 +0100
committerHarald Welte <laforge@osmocom.org>2022-11-03 12:44:28 +0100
commite61d459cef11a599008e179b16d5b09cdd88bc95 (patch)
tree8d046c40e5ef3d37131cd2ec3408cb69b303e13d /utils/osmo-aka-verify.c
parent0d9b6b0e31f2d608c9ac18a861a905a94b978702 (diff)
Support building with -Werror=strict-prototypes / -Werror=old-style-definition
Unfortunately "-std=c99" is not sufficient to make gcc ignore code that uses constructs of earlier C standards, which were abandoned in C99. See https://lwn.net/ml/fedora-devel/Y1kvF35WozzGBpc8@redhat.com/ for some related discussion. Change-Id: I84fd99442d0cc400fa562fa33623c142649230e2
Diffstat (limited to 'utils/osmo-aka-verify.c')
-rw-r--r--utils/osmo-aka-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/osmo-aka-verify.c b/utils/osmo-aka-verify.c
index bbc65ef7..f23c349b 100644
--- a/utils/osmo-aka-verify.c
+++ b/utils/osmo-aka-verify.c
@@ -88,7 +88,7 @@ static int milenage_check(const uint8_t *opc, const uint8_t *k, const uint8_t *s
}
-static void help()
+static void help(void)
{
printf( "Static SIM card parameters:\n"
"-k --key\tSpecify Ki / K\n"