Ticket #61425: implicit.patch

File implicit.patch, 929 bytes (added by Knapoc, 4 years ago)

Attemted patch

  • ckcmai.c

    Fix:
    
    ckcmai.c:3160:13: error: implicit declaration of function 'time' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    
    ckuusx.c:5980:17: error: implicit declaration of function 'tgetent' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    
    old new  
    11#define EDITDATE  "20 Aug 2011"         /* Last edit date dd mmm yyyy */
    22#define EDITNDATE "20110820"            /* Keep them in sync */
    33/* Sat Aug 20 17:20:17 2011 */
    4 
     4#include <time.h>
    55/* ckcmai.c - Main program for C-Kermit plus some miscellaneous functions */
    66
    77/*
  • ckuusx.c

    old new  
     1#include </Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/term.h>
     2
    13#include "ckcsym.h"
    24
    35/*  C K U U S X --  "User Interface" common functions. */