mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib: Remove duplicate get_pass() prototypes
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martins@samba.org>
This commit is contained in:
parent
7093356440
commit
6ab4b87a7e
@ -909,10 +909,6 @@ NTSTATUS sessionid_traverse_read(int (*fn)(const char *key,
|
||||
void *private_data),
|
||||
void *private_data);
|
||||
|
||||
/* The following definitions come from utils/passwd_util.c */
|
||||
|
||||
char *get_pass( const char *prompt, bool stdin_get);
|
||||
|
||||
/* The following definitions come from lib/avahi.c */
|
||||
|
||||
struct AvahiPoll *tevent_avahi_poll(TALLOC_CTX *mem_ctx,
|
||||
|
@ -51,6 +51,7 @@
|
||||
#include "cmdline_contexts.h"
|
||||
#include "lib/gencache.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "source3/utils/passwd_proto.h"
|
||||
|
||||
#ifdef WITH_FAKE_KASERVER
|
||||
#include "utils/net_afs.h"
|
||||
|
@ -439,10 +439,6 @@ NTSTATUS net_lookup_name_from_sid(struct net_context *c,
|
||||
NTSTATUS net_lookup_sid_from_name(struct net_context *c, TALLOC_CTX *ctx,
|
||||
const char *full_name, struct dom_sid *pret_sid);
|
||||
|
||||
/* The following definitions come from utils/passwd_util.c */
|
||||
|
||||
char *get_pass( const char *prompt, bool stdin_get);
|
||||
|
||||
/* The following definitions come from utils/net_g_lock.c */
|
||||
int net_g_lock(struct net_context *c, int argc, const char **argv);
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "passwd_proto.h"
|
||||
|
||||
/*************************************************************
|
||||
Utility function to prompt for passwords from stdin. Each
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "../libcli/security/security.h"
|
||||
#include "passdb.h"
|
||||
#include "cmdline_contexts.h"
|
||||
#include "passwd_proto.h"
|
||||
|
||||
#define BIT_BACKEND 0x00000004
|
||||
#define BIT_VERBOSE 0x00000008
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "libsmb/proto.h"
|
||||
#include "passdb.h"
|
||||
#include "cmdline_contexts.h"
|
||||
#include "passwd_proto.h"
|
||||
|
||||
/*
|
||||
* Next two lines needed for SunOS and don't
|
||||
|
Loading…
Reference in New Issue
Block a user