summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-11-23 14:58:38 +0100
committerAndreas Schneider <asn@samba.org>2012-12-03 14:35:10 +0100
commit532350877322cd3446cfa65459e82a45d5cef76c (patch)
tree4f76603c816a1940868023443ebf3247d4830b1e /lib/replace/replace.h
parentce29ecfd44613e4f3bae98418add1cc4d0ed59ab (diff)
downloadsamba-532350877322cd3446cfa65459e82a45d5cef76c.tar.gz
samba-532350877322cd3446cfa65459e82a45d5cef76c.tar.bz2
samba-532350877322cd3446cfa65459e82a45d5cef76c.zip
replace: Remove deprecated getpass() support.
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 4cdc362b6a..62172a9a12 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -843,17 +843,6 @@ int fdatasync(int );
/* prototype is in "system/network.h" */
#endif
-#if !defined(getpass)
-#ifdef REPLACE_GETPASS
-#if defined(REPLACE_GETPASS_BY_GETPASSPHRASE)
-#define getpass(prompt) getpassphrase(prompt)
-#else
-#define getpass(prompt) rep_getpass(prompt)
-char *rep_getpass(const char *prompt);
-#endif
-#endif
-#endif
-
#ifndef HAVE_GETPEEREID
#define getpeereid rep_getpeereid
int rep_getpeereid(int s, uid_t *uid, gid_t *gid);