mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r20131: get rid of a few no previous prototype warnings
This commit is contained in:
parent
ac3eb7813e
commit
e710a7d39a
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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[])
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user