diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-16 12:13:00 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-16 12:13:00 +0200 |
commit | f4d45ab0213c61c72942986f60a39b1f01ca42e8 (patch) | |
tree | 156cdc6123eb1c490e57f3a4e76e4ff5d3fa7c6d | |
parent | 79599ba0eb7a9aeaeb9dfbbf4881f0633724a471 (diff) |
gsm 08.08: use ANSI function definition with (void)
-rw-r--r-- | include/osmocom/gsm/gsm0808.h | 2 | ||||
-rw-r--r-- | 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; } |