1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

build: fix some no previous prototype warnings.

Guenther
This commit is contained in:
Günther Deschner 2008-07-30 17:47:40 +02:00
parent 0c1efc6c89
commit 51062534fd
2 changed files with 11 additions and 11 deletions

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "libnet/libnet_samsync.h"
#include "libnet/libnet.h"
/**
* Decrypt and extract the user's passwords.

View File

@ -222,8 +222,8 @@ static krb5_error_code smb_krb5_locator_call_cbfunc(const char *name,
* @return krb5_error_code.
*/
krb5_error_code smb_krb5_locator_init(krb5_context context,
void **private_data)
static krb5_error_code smb_krb5_locator_init(krb5_context context,
void **private_data)
{
return 0;
}
@ -236,7 +236,7 @@ krb5_error_code smb_krb5_locator_init(krb5_context context,
* @return void.
*/
void smb_krb5_locator_close(void *private_data)
static void smb_krb5_locator_close(void *private_data)
{
return;
}
@ -292,13 +292,13 @@ static bool ask_winbind(const char *realm, char **dcname)
* @return krb5_error_code.
*/
krb5_error_code smb_krb5_locator_lookup(void *private_data,
enum locate_service_type svc,
const char *realm,
int socktype,
int family,
int (*cbfunc)(void *, int, struct sockaddr *),
void *cbdata)
static krb5_error_code smb_krb5_locator_lookup(void *private_data,
enum locate_service_type svc,
const char *realm,
int socktype,
int family,
int (*cbfunc)(void *, int, struct sockaddr *),
void *cbdata)
{
krb5_error_code ret;
struct addrinfo aihints;