svn commit: samba r25685 - in branches/SAMBA_4_0/source/lib/replace: . system

metze at samba.org metze at samba.org
Wed Oct 17 14:02:07 GMT 2007


Author: metze
Date: 2007-10-17 14:02:06 +0000 (Wed, 17 Oct 2007)
New Revision: 25685

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25685

Log:
rename getsmbpass -> rep_getpass and provide the function prototype
metze
(cherry picked from commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)

Modified:
   branches/SAMBA_4_0/source/lib/replace/getpass.c
   branches/SAMBA_4_0/source/lib/replace/system/passwd.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/getpass.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/getpass.c	2007-10-17 14:01:49 UTC (rev 25684)
+++ branches/SAMBA_4_0/source/lib/replace/getpass.c	2007-10-17 14:02:06 UTC (rev 25685)
@@ -138,7 +138,7 @@
 	in_fd = -1;
 }
 
-char *getsmbpass(const char *prompt)
+char *rep_getpass(const char *prompt)
 {
 	FILE *in, *out;
 	int echo_off;

Modified: branches/SAMBA_4_0/source/lib/replace/system/passwd.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/system/passwd.h	2007-10-17 14:01:49 UTC (rev 25684)
+++ branches/SAMBA_4_0/source/lib/replace/system/passwd.h	2007-10-17 14:02:06 UTC (rev 25685)
@@ -65,7 +65,8 @@
 #endif
 
 #ifdef REPLACE_GETPASS
-#define getpass(prompt) getsmbpass((prompt))
+#define getpass(prompt) rep_getpass(prompt)
+char *rep_getpass(const char *prompt);
 #endif
 
 #ifndef NGROUPS_MAX



More information about the samba-cvs mailing list