svn commit: samba r20131 - in branches/SAMBA_3_0/source: lib lib/talloc libaddns printing smbd utils

herb at samba.org herb at samba.org
Tue Dec 12 20:15:47 GMT 2006


Author: herb
Date: 2006-12-12 20:15:47 +0000 (Tue, 12 Dec 2006)
New Revision: 20131

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20131

Log:
get rid of a few no previous prototype warnings

Modified:
   branches/SAMBA_3_0/source/lib/interfaces.c
   branches/SAMBA_3_0/source/lib/talloc/talloc.h
   branches/SAMBA_3_0/source/libaddns/dns.h
   branches/SAMBA_3_0/source/printing/print_cups.c
   branches/SAMBA_3_0/source/printing/print_iprint.c
   branches/SAMBA_3_0/source/smbd/oplock_irix.c
   branches/SAMBA_3_0/source/smbd/server.c
   branches/SAMBA_3_0/source/utils/status_profile.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/interfaces.c
===================================================================
--- branches/SAMBA_3_0/source/lib/interfaces.c	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/lib/interfaces.c	2006-12-12 20:15:47 UTC (rev 20131)
@@ -362,6 +362,7 @@
 	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)

Modified: branches/SAMBA_3_0/source/lib/talloc/talloc.h
===================================================================
--- branches/SAMBA_3_0/source/lib/talloc/talloc.h	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/lib/talloc/talloc.h	2006-12-12 20:15:47 UTC (rev 20131)
@@ -123,6 +123,7 @@
 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);

Modified: branches/SAMBA_3_0/source/libaddns/dns.h
===================================================================
--- branches/SAMBA_3_0/source/libaddns/dns.h	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/libaddns/dns.h	2006-12-12 20:15:47 UTC (rev 20131)
@@ -405,6 +405,9 @@
 					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);

Modified: branches/SAMBA_3_0/source/printing/print_cups.c
===================================================================
--- branches/SAMBA_3_0/source/printing/print_cups.c	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/printing/print_cups.c	2006-12-12 20:15:47 UTC (rev 20131)
@@ -1201,5 +1201,6 @@
 
 #else
  /* this keeps fussy compilers happy */
+ void print_cups_dummy(void);
  void print_cups_dummy(void) {}
 #endif /* HAVE_CUPS */

Modified: branches/SAMBA_3_0/source/printing/print_iprint.c
===================================================================
--- branches/SAMBA_3_0/source/printing/print_iprint.c	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/printing/print_iprint.c	2006-12-12 20:15:47 UTC (rev 20131)
@@ -1235,5 +1235,6 @@
 
 #else
  /* this keeps fussy compilers happy */
+ void print_iprint_dummy(void);
  void print_iprint_dummy(void) {}
 #endif /* HAVE_IPRINT */

Modified: branches/SAMBA_3_0/source/smbd/oplock_irix.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/oplock_irix.c	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/smbd/oplock_irix.c	2006-12-12 20:15:47 UTC (rev 20131)
@@ -266,5 +266,6 @@
 	return &koplocks;
 }
 #else
+ void oplock_irix_dummy(void);
  void oplock_irix_dummy(void) {}
 #endif /* HAVE_KERNEL_OPLOCKS_IRIX */

Modified: branches/SAMBA_3_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/server.c	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/smbd/server.c	2006-12-12 20:15:47 UTC (rev 20131)
@@ -786,7 +786,7 @@
    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[])
 {

Modified: branches/SAMBA_3_0/source/utils/status_profile.c
===================================================================
--- branches/SAMBA_3_0/source/utils/status_profile.c	2006-12-12 19:02:14 UTC (rev 20130)
+++ branches/SAMBA_3_0/source/utils/status_profile.c	2006-12-12 20:15:47 UTC (rev 20131)
@@ -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)
 {



More information about the samba-cvs mailing list