Commit 5dde431a authored by Adrian Bunk's avatar Adrian Bunk Committed by Thomas Graf

[APPLETALK]: Make some code static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 506c2239
......@@ -188,8 +188,6 @@ extern struct net_device *atrtr_get_dev(struct atalk_addr *sa);
extern int aarp_send_ddp(struct net_device *dev,
struct sk_buff *skb,
struct atalk_addr *sa, void *hwaddr);
extern void aarp_send_probe(struct net_device *dev,
struct atalk_addr *addr);
extern void aarp_device_down(struct net_device *dev);
extern void aarp_probe_network(struct atalk_iface *atif);
extern int aarp_proxy_probe_network(struct atalk_iface *atif,
......
......@@ -199,7 +199,7 @@ static void aarp_send_reply(struct net_device *dev, struct atalk_addr *us,
* aarp_proxy_probe_network.
*/
void aarp_send_probe(struct net_device *dev, struct atalk_addr *us)
static void aarp_send_probe(struct net_device *dev, struct atalk_addr *us)
{
struct elapaarp *eah;
int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length;
......@@ -429,7 +429,7 @@ static struct atalk_addr *__aarp_proxy_find(struct net_device *dev,
* Probe a Phase 1 device or a device that requires its Net:Node to
* be set via an ioctl.
*/
void aarp_send_probe_phase1(struct atalk_iface *iface)
static void aarp_send_probe_phase1(struct atalk_iface *iface)
{
struct ifreq atreq;
struct sockaddr_at *sa = (struct sockaddr_at *)&atreq.ifr_addr;
......
......@@ -205,21 +205,21 @@ static int atalk_seq_socket_show(struct seq_file *seq, void *v)
return 0;
}
struct seq_operations atalk_seq_interface_ops = {
static struct seq_operations atalk_seq_interface_ops = {
.start = atalk_seq_interface_start,
.next = atalk_seq_interface_next,
.stop = atalk_seq_interface_stop,
.show = atalk_seq_interface_show,
};
struct seq_operations atalk_seq_route_ops = {
static struct seq_operations atalk_seq_route_ops = {
.start = atalk_seq_route_start,
.next = atalk_seq_route_next,
.stop = atalk_seq_route_stop,
.show = atalk_seq_route_show,
};
struct seq_operations atalk_seq_socket_ops = {
static struct seq_operations atalk_seq_socket_ops = {
.start = atalk_seq_socket_start,
.next = atalk_seq_socket_next,
.stop = atalk_seq_socket_stop,
......
......@@ -612,7 +612,7 @@ static int atrtr_delete(struct atalk_addr * addr)
* Called when a device is downed. Just throw away any routes
* via it.
*/
void atrtr_device_down(struct net_device *dev)
static void atrtr_device_down(struct net_device *dev)
{
struct atalk_route **r = &atalk_routes;
struct atalk_route *tmp;
......@@ -1854,12 +1854,12 @@ static struct notifier_block ddp_notifier = {
.notifier_call = ddp_device_event,
};
struct packet_type ltalk_packet_type = {
static struct packet_type ltalk_packet_type = {
.type = __constant_htons(ETH_P_LOCALTALK),
.func = ltalk_rcv,
};
struct packet_type ppptalk_packet_type = {
static struct packet_type ppptalk_packet_type = {
.type = __constant_htons(ETH_P_PPPTALK),
.func = atalk_rcv,
};
......
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