From f6c0a00a7ae06a3e591d5400c9d83e74998d2bfa Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Tue, 16 Nov 2021 12:39:15 -0700 Subject: [PATCH] dtksh: fix implicit-function-declaration warnings Tis does not fix those warnings in ksh93 itself, only the stuff we are responsible for. --- cde/programs/dtksh/dtksh.h | 2 ++ cde/programs/dtksh/xmcmds.c | 1 + 2 files changed, 3 insertions(+) diff --git a/cde/programs/dtksh/dtksh.h b/cde/programs/dtksh/dtksh.h index 5bc6e1069..9a5cf09a4 100644 --- a/cde/programs/dtksh/dtksh.h +++ b/cde/programs/dtksh/dtksh.h @@ -153,5 +153,7 @@ typedef struct { String verifyPrinterProcCommand; } ProcInfo_t; +void dtksh_init(void); + #endif /* _Dtksh_dtksh_h */ /* DON'T ADD ANYTHING AFTER THIS #endif */ diff --git a/cde/programs/dtksh/xmcmds.c b/cde/programs/dtksh/xmcmds.c index 5f6c3ded9..f3d0e7712 100644 --- a/cde/programs/dtksh/xmcmds.c +++ b/cde/programs/dtksh/xmcmds.c @@ -99,6 +99,7 @@ #include #include +#include
#include
#include
#include