summaryrefslogtreecommitdiff
path: root/source3/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
commit3e2f9c3dee3895b44a367ec1b1b2d9b1b3b00e7c (patch)
treef674950c681f1d200be46b507ef605dfd30250bd /source3/lib/ufc.c
parent89f6150ffec4b4215ecddd764269bda325c7147b (diff)
downloadsamba-3e2f9c3dee3895b44a367ec1b1b2d9b1b3b00e7c.tar.gz
samba-3e2f9c3dee3895b44a367ec1b1b2d9b1b3b00e7c.tar.bz2
samba-3e2f9c3dee3895b44a367ec1b1b2d9b1b3b00e7c.zip
quotas.c: Fixed typo in #ifdef'ed compile.
ufc.c: Added pre-declaration of _ufc_doit(). jra@cygnus.com (This used to be commit 7c690e020ffae9a56c678ae46ae87283a1aa92fe)
Diffstat (limited to 'source3/lib/ufc.c')
-rw-r--r--source3/lib/ufc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/lib/ufc.c b/source3/lib/ufc.c
index fc35fce80a..67b0c6920a 100644
--- a/source3/lib/ufc.c
+++ b/source3/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;