Subject: Re: make build on sup of 980605
To: None <>
From: Klaus Klein <>
List: current-users
Date: 06/08/1998 15:59:41
Kurt Schreiner <> writes:

> just got this one doing make build on source supped last friday:
> cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -c -fpic -DPIC /work/usr/src/lib/libcrypt/crypt.c -o
> cc1: warnings being treated as errors
> /work/usr/src/lib/libcrypt/crypt.c:907: warning: function declaration isn't a prototype
> [...]
> I think this is due to a change in /usr/include/unistd.h so that setkey isn't
> defined as a prototype anymore?!

The setkey() prototype was moved from <unistd.h> to <stdlib.h>, and
the rest of the source tree was instantly updated to reflect that
change; your crypt.c (current revision is 1.12) is out of date.