summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-12 20:15:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:26 -0500
commit6914b29daa6700f0d4f1b93866074ce71f63a626 (patch)
tree2fa2a70f6b5a89a5460c7fa2adcbda864489497d /source3/lib
parent791f48f167de339c8ae371e5c80706511fd10018 (diff)
downloadsamba-6914b29daa6700f0d4f1b93866074ce71f63a626.tar.gz
samba-6914b29daa6700f0d4f1b93866074ce71f63a626.tar.bz2
samba-6914b29daa6700f0d4f1b93866074ce71f63a626.zip
r20131: get rid of a few no previous prototype warnings
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/interfaces.c1
-rw-r--r--source3/lib/talloc/talloc.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/interfaces.c b/source3/lib/interfaces.c
index c48a8d4d36..839cab1286 100644
--- a/source3/lib/interfaces.c
+++ b/source3/lib/interfaces.c
@@ -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)
diff --git a/source3/lib/talloc/talloc.h b/source3/lib/talloc/talloc.h
index 8b17eec03a..27d7d2c423 100644
--- a/source3/lib/talloc/talloc.h
+++ b/source3/lib/talloc/talloc.h
@@ -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);