]> git.ipfire.org Git - thirdparty/unbound.git/commit
- Code cleanup patch from Dag-Erling Smorgrav, with compiler issue
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 28 May 2014 08:07:12 +0000 (08:07 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 28 May 2014 08:07:12 +0000 (08:07 +0000)
commit3468dce5c2c2747f4299c7f1140686b6f17d72fa
tree40c9a88417a291cc4a877405f2fe2003edb82f2e
parent684fd0aa15d791a18f8ac25757034f321e7b6889
- Code cleanup patch from Dag-Erling Smorgrav, with compiler issue
  fixes from FreeBSD's copy of Unbound, he notes:
  Generate unbound-control-setup.sh at build time so it respects
  prefix and sysconfdir from the configure script.  Also fix the
  umask to match the comment, and the comment to match the umask.
  Add const and static where needed.  Use unions instead of
  playing pointer poker.  Move declarations that are needed in
  multiple source files into a shared header.  Move sldns_bgetc()
  from parse.c to buffer.c where it belongs.  Introduce a new
  header file, worker.h, which declares the callbacks that
  all workers must define.  Remove those declarations from
  libworker.h. Include the correct headers in the correct places.
  Fix a few dummy callbacks that don't match their prototype.
  Fix some casts.  Hide the sbrk madness behind #ifdef HAVE_SBRK.
  Remove a useless printf which breaks reproducible builds.
  Get rid of CONFIGURE_{TARGET,DATE,BUILD_WITH} now that they're
  no longer used.  Add unbound-control-setup.sh to the list of
  generated files.

git-svn-id: file:///svn/unbound/trunk@3137 be551aaa-1e26-0410-a405-d3ace91eadb9
22 files changed:
config.h.in
configure
configure.ac
daemon/cachedump.c
daemon/remote.c
daemon/remote.h
daemon/unbound.c
daemon/worker.c
daemon/worker.h
doc/Changelog
ldns/parse.c
ldns/sbuffer.c
libunbound/libworker.c
libunbound/libworker.h
libunbound/worker.h [new file with mode: 0644]
smallapp/unbound-anchor.c
smallapp/unbound-control-setup.sh
smallapp/unbound-control-setup.sh.in [new file with mode: 0644]
smallapp/worker_cb.c
util/config_file.c
util/config_file.h
util/fptr_wlist.c