diff options
| author | Roy Marples <roy@marples.name> | 2008-11-10 11:15:27 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-11-10 11:15:27 +0000 |
| commit | 3ad4d331afc3c7959cf9ca0c694adb190337a634 (patch) | |
| tree | de5d9d27c39f8024c5d8a9b0e340c8976420cca2 /common.h | |
| parent | eee1b3eed91b9122ad132ea501430693641cd066 (diff) | |
| download | dhcpcd-3ad4d331afc3c7959cf9ca0c694adb190337a634.tar.xz | |
Fix some LINT errors.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -56,6 +56,11 @@ # define _unused #endif +/* We require a c99 compiler, but we need this define to satisfy lint */ +#ifndef __restrict +# define __restrict restrict +#endif + #ifndef HAVE_ARC4RANDOM # ifdef __GLIBC__ uint32_t arc4random(void); @@ -86,7 +91,7 @@ int closefrom(int); int set_cloexec(int); int set_nonblock(int); -char *get_line(FILE * restrict); +char *get_line(FILE * __restrict); extern int clock_monotonic; int get_monotonic(struct timeval *); time_t uptime(void); |
