diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 18:59:51 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 18:59:51 +0200 |
commit | 87ec1d2532eb17dfd7f98431bdfa4071be57f683 (patch) | |
tree | 7543ac112a660083d05c1b4734ffb7fdc169d656 /source4/nbt_server | |
parent | 01a902f59978cebdab22aaee7d9e0c9bb78bc649 (diff) | |
download | samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.gz samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.bz2 samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.zip |
Make sure prototypes are always included, make some functions static and
remove some unused functions.
Diffstat (limited to 'source4/nbt_server')
-rw-r--r-- | source4/nbt_server/dgram/browse.c | 1 | ||||
-rw-r--r-- | source4/nbt_server/dgram/netlogon.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/nbt_server/dgram/browse.c b/source4/nbt_server/dgram/browse.c index 2e12fa114a..1ebc88fcd4 100644 --- a/source4/nbt_server/dgram/browse.c +++ b/source4/nbt_server/dgram/browse.c @@ -23,6 +23,7 @@ #include "nbt_server/nbt_server.h" #include "lib/socket/socket.h" #include "librpc/gen_ndr/ndr_nbt.h" +#include "nbt_server/dgram/proto.h" static const char *nbt_browse_opcode_string(enum nbt_browse_opcode r) { diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c index c5b16fbd75..a3a7552f6a 100644 --- a/source4/nbt_server/dgram/netlogon.c +++ b/source4/nbt_server/dgram/netlogon.c @@ -31,6 +31,7 @@ #include "smbd/service_task.h" #include "cldap_server/cldap_server.h" #include "libcli/security/security.h" +#include "nbt_server/dgram/proto.h" /* reply to a GETDC request |