From f4d45ab0213c61c72942986f60a39b1f01ca42e8 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 16 Jul 2011 12:13:00 +0200 Subject: gsm 08.08: use ANSI function definition with (void) --- include/osmocom/gsm/gsm0808.h | 2 +- src/gsm/gsm0808.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h index 04de46cf..38d88ef9 100644 --- a/include/osmocom/gsm/gsm0808.h +++ b/include/osmocom/gsm/gsm0808.h @@ -41,7 +41,7 @@ struct msgb *gsm0808_create_clear_rqst(uint8_t cause); struct msgb *gsm0808_create_dtap(struct msgb *msg, uint8_t link_id); void gsm0808_prepend_dtap_header(struct msgb *msg, uint8_t link_id); -const struct tlv_definition *gsm0808_att_tlvdef(); +const struct tlv_definition *gsm0808_att_tlvdef(void); const char *gsm0808_bssmap_name(uint8_t msg_type); const char *gsm0808_bssap_name(uint8_t msg_type); diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c index eae15982..01221bd8 100644 --- a/src/gsm/gsm0808.c +++ b/src/gsm/gsm0808.c @@ -363,7 +363,7 @@ static const struct tlv_definition bss_att_tlvdef = { }, }; -const struct tlv_definition *gsm0808_att_tlvdef() +const struct tlv_definition *gsm0808_att_tlvdef(void) { return &bss_att_tlvdef; } -- cgit v1.2.3