mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 04:09:59 -04:00
141. [cleanup] <isc/stdtime.h> does not need <time.h> or <isc/result.h>.
This commit is contained in:
parent
97f75286ad
commit
b99d080717
3 changed files with 8 additions and 11 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
142. [cleanup] <isc/stdtime.h> does not need <time.h> or
|
||||
<isc/result.h>.
|
||||
|
||||
141. [bug] Corrupt requests with multiple questions could
|
||||
cause an assertion failure.
|
||||
|
||||
|
|
|
|||
|
|
@ -18,13 +18,8 @@
|
|||
#ifndef ISC_STDTIME_H
|
||||
#define ISC_STDTIME_H 1
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/int.h>
|
||||
#include <isc/result.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/*
|
||||
* It's public information that 'isc_stdtime_t' is an unsigned integral type.
|
||||
|
|
@ -33,6 +28,8 @@ ISC_LANG_BEGINDECLS
|
|||
*/
|
||||
typedef isc_uint32_t isc_stdtime_t;
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
void
|
||||
isc_stdtime_get(isc_stdtime_t *t);
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -15,18 +15,13 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: stdtime.h,v 1.3 2000/02/03 23:08:13 halley Exp $ */
|
||||
/* $Id: stdtime.h,v 1.4 2000/04/28 23:53:55 tale Exp $ */
|
||||
|
||||
#ifndef ISC_STDTIME_H
|
||||
#define ISC_STDTIME_H 1
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/int.h>
|
||||
#include <isc/result.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/*
|
||||
* It's public information that 'isc_stdtime_t' is an unsigned integral type.
|
||||
|
|
@ -35,6 +30,8 @@ ISC_LANG_BEGINDECLS
|
|||
*/
|
||||
typedef isc_uint32_t isc_stdtime_t;
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
void
|
||||
isc_stdtime_get(isc_stdtime_t *t);
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue