dticon: Change to ANSI function definitions
authorPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:15:59 +0000 (04:15 +0100)
committerPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:15:59 +0000 (04:15 +0100)
cde/programs/dticon/dtIconShell.c
cde/programs/dticon/event.c
cde/programs/dticon/main.c
cde/programs/dticon/utils.c

index 4cfebb9a4e70c3e61b3cb52fa8126e09bbe92ef4..04351eb01076824aeca327b312cb0a75f632a30b 100644 (file)
@@ -2360,7 +2360,7 @@ build_dtIconShell( void )
 /*******************************************************************************
     NewGraphicsOp - sets the text in the instruction line
 *******************************************************************************/
-static void NewGraphicsOp()
+static void NewGraphicsOp(void)
 {
     static char *fillOnStr = NULL;
     int fillOp = False;
index b3cff7351c564fd4a551c0bd62b14abeb70754cf..67cbdcff5d1bc45b22ee1ad8d70f3343c46f8ab3 100644 (file)
@@ -801,7 +801,7 @@ Do_ButtonOp(
  *            the middle of a polyline or polygon is no longer allowed.    *
  ***************************************************************************/
 void
-EndPolyOp()
+EndPolyOp(void)
 {
     Anchored = False;
     Clear_ClickCount();
index 30c869a1a0a17a641f77b4000ee8859f6d567557..1256f8fe113261688b278f3385b04fa0083f16e9 100644 (file)
@@ -658,7 +658,7 @@ edit_notifier(char* fname, Tt_message msg, int clear)
 
 
 void
-send_tt_saved()
+send_tt_saved(void)
 {
         int mark;
         int fd;
index 2f7cf266cb9bc975515361c2f5a376ddcc2a33e3..91d8294f522b85cacb84c33aac92c0e6d7298be0 100644 (file)
@@ -1588,7 +1588,7 @@ stat_out(
  *                                                                         *
  *X11***********************************************************************/
 void
-PixelTableClear()
+PixelTableClear(void)
 {
     pixelTable.numItems = 0;
     pixelTable.lastFound = 0;
@@ -2228,9 +2228,7 @@ Set_Gfx_Labels(
  ***************************************************************************/
 #define MAX_MSG_STR   1024
 
-static int jskXerrorDebug(disp, error_event)
-Display *disp;
-XErrorEvent *error_event;
+static int jskXerrorDebug(Display *disp, XErrorEvent *error_event)
 {
     char error_msg[MAX_MSG_STR];
 
@@ -2252,8 +2250,7 @@ XErrorEvent *error_event;
  *                                                                         *
  * Purpose:   This routine is needed in order to get good bfa (bba) stats  *
  **************************************************************************/
-static int jskXerrorIODebug(disp)
-Display *disp;
+static int jskXerrorIODebug(Display *disp)
 {
     exit (-1);
     return (TRUE);
@@ -2484,8 +2481,7 @@ GetSessionInfo( void )
  * Purpose:   Put the file name in the window title...                     *
  ***************************************************************************/
 void
-ChangeTitle(
-        )
+ChangeTitle(void)
 {
     static char *dialogTitle = NULL;
     Arg al[10];