1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-29 05:25:51 +00:00

Clean up types (long unsigned int => unsigned long).

Add "l" qualifiers to printf format strings for long types.
Rewrite input string handling in keymaker.c to get rid of unsafe gets().
This commit is contained in:
Nick Briggs
2017-06-07 16:58:45 -07:00
parent ac563a69f3
commit 1dadac1888
3 changed files with 44 additions and 66 deletions

View File

@@ -56,10 +56,10 @@ static char *id = "$Id: keytst.c,v 1.3 1999/05/31 23:35:36 sybalsky Exp $ Copyri
#define FAILURE4 -4
#define FAILURE99 -99
unsigned long make_verification(long unsigned int x, long unsigned int y);
unsigned long make_verification(unsigned long x, unsigned long y);
unsigned long date_integer16(char *date);
unsigned long idate(char *str);
unsigned long modify(long unsigned int hostid);
unsigned long modify(unsigned long hostid);
/* =====================================================================
KEYTESTER checks the input key string.