Commit 96496127 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

netrom.h: Remove extern from function prototypes

There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4f69053b
...@@ -183,51 +183,50 @@ extern int sysctl_netrom_routing_control; ...@@ -183,51 +183,50 @@ extern int sysctl_netrom_routing_control;
extern int sysctl_netrom_link_fails_count; extern int sysctl_netrom_link_fails_count;
extern int sysctl_netrom_reset_circuit; extern int sysctl_netrom_reset_circuit;
extern int nr_rx_frame(struct sk_buff *, struct net_device *); int nr_rx_frame(struct sk_buff *, struct net_device *);
extern void nr_destroy_socket(struct sock *); void nr_destroy_socket(struct sock *);
/* nr_dev.c */ /* nr_dev.c */
extern int nr_rx_ip(struct sk_buff *, struct net_device *); int nr_rx_ip(struct sk_buff *, struct net_device *);
extern void nr_setup(struct net_device *); void nr_setup(struct net_device *);
/* nr_in.c */ /* nr_in.c */
extern int nr_process_rx_frame(struct sock *, struct sk_buff *); int nr_process_rx_frame(struct sock *, struct sk_buff *);
/* nr_loopback.c */ /* nr_loopback.c */
extern void nr_loopback_init(void); void nr_loopback_init(void);
extern void nr_loopback_clear(void); void nr_loopback_clear(void);
extern int nr_loopback_queue(struct sk_buff *); int nr_loopback_queue(struct sk_buff *);
/* nr_out.c */ /* nr_out.c */
extern void nr_output(struct sock *, struct sk_buff *); void nr_output(struct sock *, struct sk_buff *);
extern void nr_send_nak_frame(struct sock *); void nr_send_nak_frame(struct sock *);
extern void nr_kick(struct sock *); void nr_kick(struct sock *);
extern void nr_transmit_buffer(struct sock *, struct sk_buff *); void nr_transmit_buffer(struct sock *, struct sk_buff *);
extern void nr_establish_data_link(struct sock *); void nr_establish_data_link(struct sock *);
extern void nr_enquiry_response(struct sock *); void nr_enquiry_response(struct sock *);
extern void nr_check_iframes_acked(struct sock *, unsigned short); void nr_check_iframes_acked(struct sock *, unsigned short);
/* nr_route.c */ /* nr_route.c */
extern void nr_rt_device_down(struct net_device *); void nr_rt_device_down(struct net_device *);
extern struct net_device *nr_dev_first(void); struct net_device *nr_dev_first(void);
extern struct net_device *nr_dev_get(ax25_address *); struct net_device *nr_dev_get(ax25_address *);
extern int nr_rt_ioctl(unsigned int, void __user *); int nr_rt_ioctl(unsigned int, void __user *);
extern void nr_link_failed(ax25_cb *, int); void nr_link_failed(ax25_cb *, int);
extern int nr_route_frame(struct sk_buff *, ax25_cb *); int nr_route_frame(struct sk_buff *, ax25_cb *);
extern const struct file_operations nr_nodes_fops; extern const struct file_operations nr_nodes_fops;
extern const struct file_operations nr_neigh_fops; extern const struct file_operations nr_neigh_fops;
extern void nr_rt_free(void); void nr_rt_free(void);
/* nr_subr.c */ /* nr_subr.c */
extern void nr_clear_queues(struct sock *); void nr_clear_queues(struct sock *);
extern void nr_frames_acked(struct sock *, unsigned short); void nr_frames_acked(struct sock *, unsigned short);
extern void nr_requeue_frames(struct sock *); void nr_requeue_frames(struct sock *);
extern int nr_validate_nr(struct sock *, unsigned short); int nr_validate_nr(struct sock *, unsigned short);
extern int nr_in_rx_window(struct sock *, unsigned short); int nr_in_rx_window(struct sock *, unsigned short);
extern void nr_write_internal(struct sock *, int); void nr_write_internal(struct sock *, int);
extern void __nr_transmit_reply(struct sk_buff *skb, int mine, void __nr_transmit_reply(struct sk_buff *skb, int mine, unsigned char cmdflags);
unsigned char cmdflags);
/* /*
* This routine is called when a Connect Acknowledge with the Choke Flag * This routine is called when a Connect Acknowledge with the Choke Flag
...@@ -247,24 +246,24 @@ do { \ ...@@ -247,24 +246,24 @@ do { \
__nr_transmit_reply((skb), (mine), NR_RESET); \ __nr_transmit_reply((skb), (mine), NR_RESET); \
} while (0) } while (0)
extern void nr_disconnect(struct sock *, int); void nr_disconnect(struct sock *, int);
/* nr_timer.c */ /* nr_timer.c */
extern void nr_init_timers(struct sock *sk); void nr_init_timers(struct sock *sk);
extern void nr_start_heartbeat(struct sock *); void nr_start_heartbeat(struct sock *);
extern void nr_start_t1timer(struct sock *); void nr_start_t1timer(struct sock *);
extern void nr_start_t2timer(struct sock *); void nr_start_t2timer(struct sock *);
extern void nr_start_t4timer(struct sock *); void nr_start_t4timer(struct sock *);
extern void nr_start_idletimer(struct sock *); void nr_start_idletimer(struct sock *);
extern void nr_stop_heartbeat(struct sock *); void nr_stop_heartbeat(struct sock *);
extern void nr_stop_t1timer(struct sock *); void nr_stop_t1timer(struct sock *);
extern void nr_stop_t2timer(struct sock *); void nr_stop_t2timer(struct sock *);
extern void nr_stop_t4timer(struct sock *); void nr_stop_t4timer(struct sock *);
extern void nr_stop_idletimer(struct sock *); void nr_stop_idletimer(struct sock *);
extern int nr_t1timer_running(struct sock *); int nr_t1timer_running(struct sock *);
/* sysctl_net_netrom.c */ /* sysctl_net_netrom.c */
extern void nr_register_sysctl(void); void nr_register_sysctl(void);
extern void nr_unregister_sysctl(void); void nr_unregister_sysctl(void);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment