r20131: get rid of a few no previous prototype warnings
authorHerb Lewis <herb@samba.org>
Tue, 12 Dec 2006 20:15:47 +0000 (20:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:26 +0000 (12:16 -0500)
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)

source3/lib/interfaces.c
source3/lib/talloc/talloc.h
source3/libaddns/dns.h
source3/printing/print_cups.c
source3/printing/print_iprint.c
source3/smbd/oplock_irix.c
source3/smbd/server.c
source3/utils/status_profile.c

index c48a8d4d360b2bfecca5517c22facc47f016f3af..839cab1286c7a5a7fb5c6bfc94c2d5a9ad1c47b1 100644 (file)
@@ -362,6 +362,7 @@ static int iface_comp(struct iface_struct *i1, struct iface_struct *i2)
        return r;
 }
 
+int get_interfaces(struct iface_struct *ifaces, int max_interfaces);
 /* this wrapper is used to remove duplicates from the interface list generated
    above */
 int get_interfaces(struct iface_struct *ifaces, int max_interfaces)
index 8b17eec03ab2d78ec09edb954fdd73a7e2d83a18..27d7d2c423f30a303a1ec41457fbd90554858df6 100644 (file)
@@ -123,6 +123,7 @@ void *talloc_named_const(const void *context, size_t size, const char *name);
 const char *talloc_get_name(const void *ptr);
 void *talloc_check_name(const void *ptr, const char *name);
 void *talloc_parent(const void *ptr);
+const char *talloc_parent_name(const void *context);
 void *talloc_init(const char *fmt, ...) PRINTF_ATTRIBUTE(1,2);
 int talloc_free(void *ptr);
 void talloc_free_children(void *ptr);
index 51af9180d1548a9acaca7e49449a1b436f9d159b..a8673563ae7231bc22e5cd480d95ee2480d92e80 100644 (file)
@@ -405,6 +405,9 @@ DNS_ERROR dns_create_name_in_use_record(TALLOC_CTX *mem_ctx,
                                        const char *name,
                                        const in_addr_t *ip,
                                        struct dns_rrec **prec);
+DNS_ERROR dns_create_name_not_in_use_record(TALLOC_CTX *mem_ctx,
+                                       const char *name, uint32 type,
+                                       struct dns_rrec **prec);
 DNS_ERROR dns_create_delete_record(TALLOC_CTX *mem_ctx, const char *name,
                                   uint16 type, uint16 r_class,
                                   struct dns_rrec **prec);
index a5518764897cfd42cdc7bf19235a0b8056d14fc8..138f58d0c8cd5f6e7a343b3d7e2466f598a29541 100644 (file)
@@ -1201,5 +1201,6 @@ struct printif    cups_printif =
 
 #else
  /* this keeps fussy compilers happy */
+ void print_cups_dummy(void);
  void print_cups_dummy(void) {}
 #endif /* HAVE_CUPS */
index 3eb231c2ebaa2650937751697db668bc4d4be9e4..29cb69087fa4b77a42256bcf905db18f5cf0aedc 100644 (file)
@@ -1235,5 +1235,6 @@ struct printif    iprint_printif =
 
 #else
  /* this keeps fussy compilers happy */
+ void print_iprint_dummy(void);
  void print_iprint_dummy(void) {}
 #endif /* HAVE_IPRINT */
index 248d9020283c1fe286a32b2faeaf8c369c08834a..b62975dd274cce8a554e33ea852379617eafb39f 100644 (file)
@@ -266,5 +266,6 @@ struct kernel_oplocks *irix_init_kernel_oplocks(void)
        return &koplocks;
 }
 #else
+ void oplock_irix_dummy(void);
  void oplock_irix_dummy(void) {}
 #endif /* HAVE_KERNEL_OPLOCKS_IRIX */
index 593e2bfb12d786410ef2560aeb27dc92d475110f..5ee9320fb3607a8477237b78681f3adc8ac30c68 100644 (file)
@@ -786,7 +786,7 @@ static BOOL init_structs(void )
    mkproto.h.  Mixing $(builddir) and $(srcdir) source files in the current
    prototype generation system is too complicated. */
 
-void build_options(BOOL screen);
+extern void build_options(BOOL screen);
 
  int main(int argc,const char *argv[])
 {
index 811279b3a4c6d62ce47c8470578034a5315a54dd..10084e6fe5d643912fac594dc1c5c0fc64a7837e 100644 (file)
@@ -21,6 +21,9 @@
 
 #include "includes.h"
 
+BOOL status_profile_dump(BOOL be_verbose);
+BOOL status_profile_rates(BOOL be_verbose);
+
 #ifdef WITH_PROFILE
 static void profile_separator(const char * title)
 {