dtterm: Change to ANSI function definitions
authorPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:22:06 +0000 (04:22 +0100)
committerPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:22:06 +0000 (04:22 +0100)
cde/programs/dtterm/DtTermMain.c
cde/programs/dtterm/DtTermSyntax.c
cde/programs/dtterm/sunDtTermServer.c

index dbea7caf7b6ad6ff3ebb0c558221d0aa2220ca94..d3b02c7d1204153839c86221b066491c05f6e6e0 100644 (file)
@@ -837,7 +837,7 @@ CreateInstance
 }
 
 void
-AtExitProc()
+AtExitProc(void)
 {
     static int i = 0;
 
index 74f9090bad620c416d293fea01c797c9363f4367..fe8259b107b6c74a7806253a6a95148cbc01c973 100644 (file)
@@ -90,7 +90,7 @@ static char *message_defaults[] = {
 "End-Of-List",
 };
 
-static void GetUsage()
+static void GetUsage(void)
 {
     register struct _options *optPtr;
     register int i;
index 926dc2d689227b0e4ce6c71c0dc494c80df233f8..6c89cc47431fccad7678684dd98510b4ad0d0133 100644 (file)
@@ -87,7 +87,7 @@ static void TimeOut(XtPointer clientData, XtIntervalId *id);
 #endif  /* TIMEOUT */
 
 Boolean
-FinalizeToolTalkSession( )
+FinalizeToolTalkSession(void)
 {
     Tt_status  ttRc;
     int        i;