#include <string.h>
#include <sys/vfs.h>
#include <netinet/in.h>
-#ifndef NO_ASMSIGNALH
-#include <asm/signal.h>
-#endif
#ifdef GLIBC2
#define _LINUX_C_LIB_VERSION_MAJOR 6
#include <termios.h>
* UNIX crypt function
*/
-ufc_long *_ufc_doit(ufc_long , ufc_long, ufc_long, ufc_long, ufc_long);
+static ufc_long *_ufc_doit(ufc_long , ufc_long, ufc_long, ufc_long, ufc_long);
char *ufc_crypt(char *key,char *salt)
{ ufc_long *s;
get_myname(myname,NULL);
+ if (*username == 0 && getenv("LOGNAME")) {
+ strcpy(username,getenv("LOGNAME"));
+ }
+
argc--;
argv++;