aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lwlib/lwlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index 328fdf88c5f..82de7be3daf 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -75,7 +75,7 @@ char *lwlib_toolkit_type = "motif";
75char *lwlib_toolkit_type = "lucid"; 75char *lwlib_toolkit_type = "lucid";
76#endif 76#endif
77 77
78#if defined __STDC__ 78#if defined __STDC__ || defined PROTOTYPES
79#define P_(x) x 79#define P_(x) x
80#else 80#else
81#define P_(x) () 81#define P_(x) ()
@@ -142,7 +142,7 @@ lwlib_bcopy (from, to, length)
142 /* utility functions for widget_instance and widget_info */ 142 /* utility functions for widget_instance and widget_info */
143char * 143char *
144safe_strdup (s) 144safe_strdup (s)
145 char *s; 145 const char *s;
146{ 146{
147 char *result; 147 char *result;
148 if (! s) return 0; 148 if (! s) return 0;
@@ -753,7 +753,7 @@ lw_modify_all_widgets (id, val, deep_p)
753 int change_p = 0; 753 int change_p = 0;
754 754
755 if (!info) 755 if (!info)
756 return; 756 return 0;
757 757
758 for (new_val = val; new_val; new_val = new_val->next) 758 for (new_val = val; new_val; new_val = new_val->next)
759 { 759 {