115. [port] Shut up the -Wmissing-declarations warning about

<stdio.h>'s __sputaux on BSD/OS pre-4.1.
This commit is contained in:
David Lawrence
2000-04-28 00:32:19 +00:00
parent 7e98526069
commit 8b11f3debd
4 changed files with 34 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
115. [port] Shut up the -Wmissing-declarations warning about
<stdio.h>'s __sputaux on BSD/OS pre-4.1.
114. [cleanup] <isc/sockaddr.h> does not need <isc/buffer.h> or
<isc/list.h>.

View File

@@ -89,3 +89,11 @@
/* Define if you have the socket library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
#undef SHUTUP_SPUTAUX
#ifdef SHUTUP_SPUTAUX
struct __sFILE;
extern __inline int __sputaux(int _c, struct __sFILE *_p);
#endif

15
configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh
# From configure.in Revision: 1.120
# From configure.in Revision: 1.122
@@ -3791,6 +3791,18 @@ fi
done
#
# Random remaining OS-specific issues.
#
case "$host" in
*-bsdi3.1*|*-bsdi4.0*)
cat >> confdefs.h <<\EOF
#define SHUTUP_SPUTAUX 1
EOF
;;
esac
#
# Substitutions
#
@@ -3820,7 +3832,6 @@ BIND9_INCLUDES=$BIND9_TOP_BUILDDIR/make/includes
BIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules
. $srcdir/version
BIND9_VERSION="VERSION=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}"

View File

@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.121 $)
AC_REVISION($Revision: 1.122 $)
AC_PREREQ(2.13)
@@ -772,6 +772,15 @@ AC_CHECK_FUNC(chroot, AC_DEFINE(HAVE_CHROOT))
AC_CHECK_HEADERS(linux/capability.h)
AC_CHECK_HEADERS(linux/prctl.h)
#
# Random remaining OS-specific issues.
#
case "$host" in
*-bsdi3.1*|*-bsdi4.0*)
AC_DEFINE(SHUTUP_SPUTAUX)
;;
esac
#
# Substitutions
#