Commit 78fed22a authored by Michael Graff's avatar Michael Graff
Browse files

install util.h, too, and add a warning about its use

parent 440be4c8
......@@ -20,8 +20,7 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
#
# Only list headers that are to be installed! Things like util.h, which
# consists purely of private helper macros, should not be here.
# Only list headers that are to be installed!
#
HEADERS = assertions.h base64.h boolean.h buffer.h bufferlist.h \
commandline.h error.h event.h eventclass.h \
......@@ -29,7 +28,7 @@ HEADERS = assertions.h base64.h boolean.h buffer.h bufferlist.h \
list.h magic.h mem.h msgcat.h mutexblock.h netaddr.h \
print.h random.h rbtgen.h region.h result.h \
resultclass.h rwlock.h serial.h sockaddr.h socket.h str.h \
symtab.h task.h timer.h types.h
symtab.h task.h timer.h types.h util.h
SUBDIRS =
TARGETS =
......
......@@ -20,6 +20,17 @@
#include <isc/error.h>
/*
* NOTE:
*
* This file is not to be included from any <isc/???.h> (or other) library
* files.
*
* Including this file puts several macros in your name space that are
* not protected (as all the other ISC functions/macros do) by prepending
* ISC_ or isc_ to the name.
*/
/***
*** General Macros.
***/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment