summaryrefslogtreecommitdiff
path: root/nuttx/net/net_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-12 15:36:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-12 15:36:28 +0000
commite6f93f774080d42c3f954a862709d047df2d7e7a (patch)
tree487b0ec566d911458a00e1803392b817e84b7809 /nuttx/net/net_internal.h
parent95317af605c883b464a4c5b524632193614bfd24 (diff)
downloadpx4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.tar.gz
px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.tar.bz2
px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.zip
More support for SLIP data link protocol
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3370 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/net_internal.h')
-rw-r--r--nuttx/net/net_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/net/net_internal.h b/nuttx/net/net_internal.h
index 0ddb98b30..e3498cd44 100644
--- a/nuttx/net/net_internal.h
+++ b/nuttx/net/net_internal.h
@@ -1,7 +1,7 @@
/****************************************************************************
* net/net_internal.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -200,7 +200,11 @@ EXTERN int netdev_count(void);
/* net_arptimer.c ************************************************************/
+#ifdef CONFIG_NET_ARP
EXTERN void arptimer_init(void);
+#else
+# define arptimer_init()
+#endif
#undef EXTERN
#if defined(__cplusplus)