]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
#include <config.h>, restore 'static inline'
authorMark Andrews <marka@isc.org>
Tue, 24 Jun 2008 23:26:49 +0000 (23:26 +0000)
committerMark Andrews <marka@isc.org>
Tue, 24 Jun 2008 23:26:49 +0000 (23:26 +0000)
lib/isc/portset.c

index 1f1f1a0849d4d9b6faf3c591df17abd71e3d4c09..ad154f3502a8bde13d66e9a71eb006f2b31254ef 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: portset.c,v 1.2.2.2 2008/06/24 21:43:44 marka Exp $ */
+/* $Id: portset.c,v 1.2.2.3 2008/06/24 23:26:49 marka Exp $ */
 
 /*! \file */
+
+#include <config.h>
+
 #include <isc/mem.h>
 #include <isc/portset.h>
 #include <isc/string.h>
@@ -35,12 +38,12 @@ struct isc_portset {
        isc_uint32_t buf[ISC_PORTSET_BUFSIZE];
 };
 
-inline isc_boolean_t
+static inline isc_boolean_t
 portset_isset(isc_portset_t *portset, in_port_t port) {
        return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0));
 }
 
-inline void
+static inline void
 portset_add(isc_portset_t *portset, in_port_t port) {
        if (!portset_isset(portset, port)) {
                portset->nports++;
@@ -48,7 +51,7 @@ portset_add(isc_portset_t *portset, in_port_t port) {
        }
 }
 
-inline void
+static inline void
 portset_remove(isc_portset_t *portset, in_port_t port) {
        if (portset_isset(portset, port)) {
                portset->nports--;