Ticket #69280: patch-impl-decl.diff

File patch-impl-decl.diff, 1.3 KB (added by grumpybozo (Bill Cole), 8 months ago)

Patch to add includes of ctype.h and err.h to correct implicit declaration errors in multiple files.

  • skey-1.1.

    diff -ruw skey-1.1.5/put.c skey-1.1.5-fixed/put.c
    old new  
    1212 */
    1313
    1414#include <stdio.h>
     15#include <err.h>
    1516#include <string.h>
    1617#include <assert.h>
    17 /*#include <ctype.h>*/
     18#include <ctype.h>
    1819#include "config.h"
    1920
    2021#include "skey.h"
  • skeyinfo.c

    diff -ruw skey-1.1.5/skeyinfo.c skey-1.1.5-fixed/skeyinfo.c
    old new  
    2929
    3030/*#include <limits.h>*/
    3131#include <pwd.h>
     32#include <err.h>
     33#include <ctype.h>
    3234#include <stdio.h>
    3335#include <stdlib.h>
    3436#include <string.h>
  • skeyinit.c

    diff -ruw skey-1.1.5/skeyinit.c skey-1.1.5-fixed/skeyinit.c
    old new  
    2828#include "config.h"
    2929
    3030#include <errno.h>
     31#include <err.h>
    3132#include <ctype.h>
    3233#include <pwd.h>
    3334#include <stdio.h>
  • skeylogin.c

    diff -ruw skey-1.1.5/skeylogin.c skey-1.1.5-fixed/skeylogin.c
    old new  
    2525#include <sys/types.h>
    2626
    2727#include <ctype.h>
     28#include <err.h>
    2829#include <errno.h>
    2930#include <fcntl.h>
    3031#include <stdio.h>