summaryrefslogtreecommitdiffstats
path: root/source/lib/ufc.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-03-07 17:24:22 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-03-07 17:24:22 +0000
commit7c690e020ffae9a56c678ae46ae87283a1aa92fe (patch)
tree9b8f2de0b240a63c7c30903eb55f03914e9bf178 /source/lib/ufc.c
parented7e3a9347c93cf5736132f93d43472a3809c80e (diff)
downloadsamba-7c690e020ffae9a56c678ae46ae87283a1aa92fe.tar.gz
samba-7c690e020ffae9a56c678ae46ae87283a1aa92fe.tar.xz
samba-7c690e020ffae9a56c678ae46ae87283a1aa92fe.zip
quotas.c: Fixed typo in #ifdef'ed compile.
ufc.c: Added pre-declaration of _ufc_doit(). jra@cygnus.com
Diffstat (limited to 'source/lib/ufc.c')
-rw-r--r--source/lib/ufc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/lib/ufc.c b/source/lib/ufc.c
index fc35fce80a4..67b0c6920a4 100644
--- a/source/lib/ufc.c
+++ b/source/lib/ufc.c
@@ -659,6 +659,8 @@ static char *output_conversion(v1, v2, salt)
/*
* UNIX crypt function
*/
+
+ufc_long *_ufc_doit(ufc_long , ufc_long, ufc_long, ufc_long, ufc_long);
char *ufc_crypt(char *key,char *salt)
{ ufc_long *s;
@@ -700,7 +702,7 @@ extern long32 _ufc_sb0[], _ufc_sb1[], _ufc_sb2[], _ufc_sb3[];
#define SBA(sb, v) (*(long32*)((char*)(sb)+(v)))
-ufc_long *_ufc_doit(l1, l2, r1, r2, itr)
+static ufc_long *_ufc_doit(l1, l2, r1, r2, itr)
ufc_long l1, l2, r1, r2, itr;
{ int i;
long32 s, *k;
@@ -740,7 +742,7 @@ extern long64 _ufc_sb0[], _ufc_sb1[], _ufc_sb2[], _ufc_sb3[];
#define SBA(sb, v) (*(long64*)((char*)(sb)+(v)))
-ufc_long *_ufc_doit(l1, l2, r1, r2, itr)
+static ufc_long *_ufc_doit(l1, l2, r1, r2, itr)
ufc_long l1, l2, r1, r2, itr;
{ int i;
long64 l, r, s, *k;