mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
f6982299f2
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: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
344 B
C
15 lines
344 B
C
#ifndef _NET_STP_H
|
|
#define _NET_STP_H
|
|
|
|
struct stp_proto {
|
|
unsigned char group_address[ETH_ALEN];
|
|
void (*rcv)(const struct stp_proto *, struct sk_buff *,
|
|
struct net_device *);
|
|
void *data;
|
|
};
|
|
|
|
int stp_proto_register(const struct stp_proto *proto);
|
|
void stp_proto_unregister(const struct stp_proto *proto);
|
|
|
|
#endif /* _NET_STP_H */
|