140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>.
|
||||
|
||||
139. [cleanup] <isc/net.h> now includes <isc/types.h> instead of
|
||||
<isc/int.h> and <isc/result.h>.
|
||||
|
||||
|
||||
@@ -18,14 +18,9 @@
|
||||
#ifndef ISC_TIME_H
|
||||
#define ISC_TIME_H 1
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/result.h>
|
||||
#include <isc/types.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/***
|
||||
*** Intervals
|
||||
***/
|
||||
@@ -43,6 +38,8 @@ struct isc_interval {
|
||||
|
||||
extern isc_interval_t *isc_interval_zero;
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
void
|
||||
isc_interval_set(isc_interval_t *i,
|
||||
unsigned int seconds, unsigned int nanoseconds);
|
||||
|
||||
@@ -21,11 +21,8 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/result.h>
|
||||
#include <isc/types.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/***
|
||||
*** Intervals
|
||||
***/
|
||||
@@ -42,6 +39,8 @@ struct isc_interval {
|
||||
|
||||
extern isc_interval_t *isc_interval_zero;
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
void
|
||||
isc_interval_set(isc_interval_t *i,
|
||||
unsigned int seconds, unsigned int nanoseconds);
|
||||
|
||||
Reference in New Issue
Block a user