Moved prototypes to a better place
authorAlan T. DeKok <aland@freeradius.org>
Wed, 12 Aug 2009 08:22:23 +0000 (10:22 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 12 Aug 2009 08:22:41 +0000 (10:22 +0200)
src/include/missing.h
src/modules/frs_dhcp/dhcp.h

index cb17009..1c702e0 100644 (file)
@@ -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 */
index 34395bb..0f7e6f1 100644 (file)
@@ -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 */