summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-28 16:51:04 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-28 16:51:04 +0200
commitce6698ce59c7524986324469c679d564a52099ba (patch)
tree2ad4f6f73c4ecd04413b0d428d99f45ba089dd0a
parentb04de4e4b984a0423d67be6c1b5d528c3d1c01c0 (diff)
Move free_skbuffs declaration to the top
* device/ds_routines.c (free_skbuffs): Move declaration to the top.
-rw-r--r--device/ds_routines.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index 5b36329..2173ddf 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -99,6 +99,7 @@
extern struct device_emulation_ops linux_block_emulation_ops;
#ifdef CONFIG_INET
extern struct device_emulation_ops linux_net_emulation_ops;
+extern void free_skbuffs ();
#ifdef CONFIG_PCMCIA
extern struct device_emulation_ops linux_pcmcia_emulation_ops;
#endif
@@ -1489,10 +1490,6 @@ void iodone(ior)
splx(s);
}
-#if defined (LINUX_DEV) && defined (CONFIG_INET)
-extern void free_skbuffs ();
-#endif
-
void io_done_thread_continue()
{
for (;;) {