mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
137. [cleanup] <isc/commandline.h>, <isc/mem.h>, <isc/print.h>
<isc/serial.h>, <isc/string.h> and <isc/offset.h> made to conform to the same style for multiple inclusion protection.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,3 +1,8 @@
|
|||||||
|
137. [cleanup] <isc/commandline.h>, <isc/mem.h>, <isc/print.h>
|
||||||
|
<isc/serial.h>, <isc/string.h> and <isc/offset.h>
|
||||||
|
made to conform to the same style for multiple
|
||||||
|
inclusion protection.
|
||||||
|
|
||||||
136. [cleanup] <isc/commandline.h>, <isc/interfaceiter.h>,
|
136. [cleanup] <isc/commandline.h>, <isc/interfaceiter.h>,
|
||||||
<isc/net.h> and Win32's <isc/thread.h> needed
|
<isc/net.h> and Win32's <isc/thread.h> needed
|
||||||
ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS.
|
ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS.
|
||||||
|
@@ -15,7 +15,10 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: commandline.h,v 1.3 2000/04/28 22:09:15 tale Exp $ */
|
/* $Id: commandline.h,v 1.4 2000/04/28 22:13:14 tale Exp $ */
|
||||||
|
|
||||||
|
#ifndef ISC_COMMANDLINE_H
|
||||||
|
#define ISC_COMMANDLINE_H 1
|
||||||
|
|
||||||
#include <isc/boolean.h>
|
#include <isc/boolean.h>
|
||||||
#include <isc/lang.h>
|
#include <isc/lang.h>
|
||||||
@@ -35,3 +38,5 @@ int
|
|||||||
isc_commandline_parse(int argc, char * const *argv, const char *options);
|
isc_commandline_parse(int argc, char * const *argv, const char *options);
|
||||||
|
|
||||||
ISC_LANG_ENDDECLS
|
ISC_LANG_ENDDECLS
|
||||||
|
|
||||||
|
#endif /* ISC_COMMANDLINE_H */
|
||||||
|
@@ -271,4 +271,4 @@ isc_mempool_setfillcount(isc_mempool_t *mpctx, unsigned int limit);
|
|||||||
|
|
||||||
ISC_LANG_ENDDECLS
|
ISC_LANG_ENDDECLS
|
||||||
|
|
||||||
#endif /* MEM_H */
|
#endif /* ISC_MEM_H */
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ISC_PRINT_H
|
#ifndef ISC_PRINT_H
|
||||||
#define ISC_PRINT_H
|
#define ISC_PRINT_H 1
|
||||||
|
|
||||||
/***
|
/***
|
||||||
*** Imports
|
*** Imports
|
||||||
|
@@ -15,10 +15,10 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: serial.h,v 1.5 2000/04/27 23:08:18 tale Exp $ */
|
/* $Id: serial.h,v 1.6 2000/04/28 22:13:15 tale Exp $ */
|
||||||
|
|
||||||
#ifndef ISC_SERIAL_H
|
#ifndef ISC_SERIAL_H
|
||||||
#define ISC_SERIAL_H
|
#define ISC_SERIAL_H 1
|
||||||
|
|
||||||
#include <isc/lang.h>
|
#include <isc/lang.h>
|
||||||
#include <isc/types.h>
|
#include <isc/types.h>
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ISC_STRING_H
|
#ifndef ISC_STRING_H
|
||||||
#define ISC_STRING_H
|
#define ISC_STRING_H 1
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@@ -15,10 +15,10 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: offset.h,v 1.2 2000/04/28 00:39:11 tale Exp $ */
|
/* $Id: offset.h,v 1.3 2000/04/28 22:13:15 tale Exp $ */
|
||||||
|
|
||||||
#ifndef ISC_OFFSET_T
|
#ifndef ISC_OFFSET_H
|
||||||
#define ISC_OFFSET_T 1
|
#define ISC_OFFSET_H 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* File offsets are operating-system dependent.
|
* File offsets are operating-system dependent.
|
||||||
@@ -28,4 +28,4 @@
|
|||||||
|
|
||||||
typedef off_t isc_offset_t;
|
typedef off_t isc_offset_t;
|
||||||
|
|
||||||
#endif /* ISC_OFFSET_T */
|
#endif /* ISC_OFFSET_H */
|
||||||
|
Reference in New Issue
Block a user