summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2008-06-18 16:24:51 +0200
committerStefan Metzmacher <metze@samba.org>2009-01-19 07:05:54 +0100
commitafd405dd90561b6aa99b4c9e5b62644659b96768 (patch)
tree7553e50c6dfdf7728225944d50baf8d9196f1d2d
parent2973af51110ebefda71b01a7292aa27cdf58aaf9 (diff)
downloadsamba-afd405dd90561b6aa99b4c9e5b62644659b96768.tar.gz
samba-afd405dd90561b6aa99b4c9e5b62644659b96768.tar.bz2
samba-afd405dd90561b6aa99b4c9e5b62644659b96768.zip
nbt_server/wins: winsdb_handle() can be static
metze (from samba4wins tree ba45b14b48f62eb1668509738f83fa17a4ce95fd)
-rw-r--r--source4/nbt_server/wins/winsdb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index 85265fb8a2..bf9b8c442a 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -746,8 +746,9 @@ failed:
/*
form a ldb_message from a winsdb_record
*/
-struct ldb_message *winsdb_message(struct ldb_context *ldb,
- struct winsdb_record *rec, TALLOC_CTX *mem_ctx)
+static struct ldb_message *winsdb_message(struct ldb_context *ldb,
+ struct winsdb_record *rec,
+ TALLOC_CTX *mem_ctx)
{
int i, ret=0;
size_t addr_count;