dtstyle: Change to ANSI function definitions
authorPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:21:25 +0000 (04:21 +0100)
committerPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:21:25 +0000 (04:21 +0100)
cde/programs/dtstyle/Backdrop.c
cde/programs/dtstyle/Dtwm.c
cde/programs/dtstyle/Help.c
cde/programs/dtstyle/Main.c

index bd738be100be5d2b28fb5792bd311840ebd0fd78..f09fc22b891d6bb42e8b9567319a0c4df6bdd2fb 100644 (file)
@@ -258,7 +258,7 @@ free_dirList(char ** dirList,
  *  SelectCurrentBackdrop() - Selects current backdrop in list
  *
  ************************************************************************/
-void SelectCurrentBackdrop(callback)
+void SelectCurrentBackdrop(int callback)
 {
     DtWsmWorkspaceInfo   *wInfo=NULL;
     Atom            aWS;
index a74b493acd6fc1b9bb05a29611cfb82ead5c580c..89aabd507a89981112f4fadeaeaa76b3521be00e 100644 (file)
@@ -196,7 +196,7 @@ popup_dtwmBB(
 /*+++++++++++++++++++++++++++++++++++++++*/
 
 static void 
-getDtwmValues( )
+getDtwmValues(void)
 {
     char *str_type_return;
     XrmValue value_return;
index fe3eea933403d821573e1d9a3d8d21b56f0a6212..c57eac3aac1c362f745919dbf8fa1e13f7b3c968 100644 (file)
@@ -54,7 +54,7 @@
 #include "Help.h"
 
 static Widget
-GetHelpDialog( )
+GetHelpDialog(void)
 {
     static HelpStruct       *pHelpCache;
 
index 5bc71f37f4bfa654d965ad860b1d796c5530af1b..3c7e933cd01e30dc4e967adb34060989e5cd0751 100644 (file)
@@ -646,9 +646,7 @@ ErrorHandler(
  *
  ************************************************************************/
 static int
-IOErrorHandler (display)
- Display *display;
-
+IOErrorHandler (Display *display)
 {
 #ifdef DEBUG
     Warning ("X IO error occurred during generic operation");