summaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-10 11:15:27 +0000
committerRoy Marples <roy@marples.name>2008-11-10 11:15:27 +0000
commit3ad4d331afc3c7959cf9ca0c694adb190337a634 (patch)
treede5d9d27c39f8024c5d8a9b0e340c8976420cca2 /common.c
parenteee1b3eed91b9122ad132ea501430693641cd066 (diff)
downloaddhcpcd-3ad4d331afc3c7959cf9ca0c694adb190337a634.tar.xz
Fix some LINT errors.
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.c b/common.c
index 802b42be..d68179ff 100644
--- a/common.c
+++ b/common.c
@@ -25,6 +25,8 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
#ifdef __APPLE__
# include <mach/mach_time.h>
# include <mach/kern_return.h>
@@ -69,7 +71,7 @@ free_lbuf(void)
* us smaller.
* As we don't use threads, this API is clean too. */
char *
-get_line(FILE * restrict fp)
+get_line(FILE * __restrict fp)
{
char *p, *e;
size_t last;