1
0
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:
Volker Lendecke 2019-11-27 08:36:59 +01:00 committed by Jeremy Allison
parent 7093356440
commit 6ab4b87a7e
6 changed files with 4 additions and 8 deletions

View File

@ -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,

View File

@ -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"

View File

@ -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);

View File

@ -25,6 +25,7 @@
*/
#include "includes.h"
#include "passwd_proto.h"
/*************************************************************
Utility function to prompt for passwords from stdin. Each

View File

@ -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

View File

@ -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