From: Alan T. DeKok Date: Wed, 12 Aug 2009 08:22:23 +0000 (+0200) Subject: Moved prototypes to a better place X-Git-Tag: release_2_1_7~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdf8989df9d7c3c9319468f6bd8efa89aad0098e;p=thirdparty%2Ffreeradius-server.git Moved prototypes to a better place --- diff --git a/src/include/dhcp.h b/src/include/dhcp.h index 34395bb6c5b..0f7e6f145e3 100644 --- a/src/include/dhcp.h +++ b/src/include/dhcp.h @@ -60,12 +60,4 @@ int fr_dhcp_decode(RADIUS_PACKET *packet); #define DHCP_BASE_ATTR(x) (x & 0xff) #define DHCP_UNPACK_OPTION1(x) (((x) & 0xff00) >> 8) -/* - * In src/lib/missing.c - */ -void -timeval2ntp(const struct timeval *tv, uint8_t *ntp); -void -ntp2timeval(struct timeval *tv, const char *ntp); - #endif /* FR_DHCP_H */ diff --git a/src/include/missing.h b/src/include/missing.h index cb17009fbb8..1c702e0f069 100644 --- a/src/include/missing.h +++ b/src/include/missing.h @@ -395,4 +395,7 @@ int gettimeofday (struct timeval *tv, void *tz); # define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #endif +void timeval2ntp(const struct timeval *tv, uint8_t *ntp); +void ntp2timeval(struct timeval *tv, const char *ntp); + #endif /* _FR_MISSING_H */