diff options
| author | Roy Marples <roy@marples.name> | 2008-02-06 10:18:03 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-02-06 10:18:03 +0000 |
| commit | 2136d44495f4bd145ab6df48bc951abb70bfe564 (patch) | |
| tree | 9c0385da1ea45baba92ca9f19bfc6e2ae0e01071 /common.h | |
| parent | c737e99e65a44c413d3c16d6ce79403727033d7e (diff) | |
| download | dhcpcd-2136d44495f4bd145ab6df48bc951abb70bfe564.tar.xz | |
Rename getline to get_line so we don't conflict with crappy GNU headers that wrongly expose getline when _GNU_SOURCE isn't set. Bug #17.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ void srandomdev (void); #endif void close_fds (void); -char *getline (FILE *fp); +char *get_line (FILE *fp); int get_time (struct timeval *tp); time_t uptime (void); void writepid (int fd, pid_t pid); |
