diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-13 21:36:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-13 21:36:43 +0000 |
commit | 020230e865033fb9ab0e2f7db0b5eee6d8fa88a2 (patch) | |
tree | 5f4b748dd89dd77d240ab313962ec756a94dcaa9 /epan/dissectors/packet-gsm_a_rr.h | |
parent | 7f5567a6058cc306e7257eedfe11ab1c96ad7abc (diff) |
f_k() is used outside packet-gsm_a_rr.c, so it can't be static.
In a source file that defines external functions, the header file that
declares the functions must be included, in order to make sure the
declarations match the function signature. Make it so - which means
creating the header file in the first place.
That means f_k() doesn't need to, and shouldn't be, declared in
packet-gsm_rlcmac.h. Include packet-gsm_a_rr.h in packet-gsm_rlcmac.c.
svn path=/trunk/; revision=54724
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.h')
-rw-r--r-- | epan/dissectors/packet-gsm_a_rr.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.h b/epan/dissectors/packet-gsm_a_rr.h new file mode 100644 index 0000000000..71ac103bb7 --- /dev/null +++ b/epan/dissectors/packet-gsm_a_rr.h @@ -0,0 +1,37 @@ +/* packet-gsm_a_rr.h + * Definitions for GSM A Interface (actually A-bis really) RR dissection - A.K.A. GSM layer 3 Radio Resource Protocol + * + * Copyright 2003, Michael Lum <mlum [AT] telostech.com> + * In association with Telos Technology Inc. + * + * Added Dissection of Radio Resource Management Information Elements + * and other enhancements and fixes. + * Copyright 2005 - 2006, Anders Broman [AT] ericsson.com + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __PACKET_GSM_A_RR_H__ +#define __PACKET_GSM_A_RR_H__ + +extern gint f_k(gint k, gint *w, gint range); + +#endif /* __PACKET_GSM_A_RR_H__ */ |