Mercurial > emacs
comparison lwlib/lwlib.c @ 7423:4a5d0d109242
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 09 May 1994 23:08:26 +0000 |
parents | f3fe542e8cd7 |
children | d31babe815e7 |
comparison
equal
deleted
inserted
replaced
7422:49876b60d0c6 | 7423:4a5d0d109242 |
---|---|
19 | 19 |
20 #ifdef NeXT | 20 #ifdef NeXT |
21 #undef __STRICT_BSD__ /* ick */ | 21 #undef __STRICT_BSD__ /* ick */ |
22 #endif | 22 #endif |
23 | 23 |
24 #include <stdlib.h> | |
25 #include <unistd.h> | |
26 #include <sys/types.h> | 24 #include <sys/types.h> |
27 #include <string.h> | |
28 #include <stdio.h> | 25 #include <stdio.h> |
29 #include <ctype.h> | 26 #include <ctype.h> |
30 #include "lwlib-int.h" | 27 #include "lwlib-int.h" |
31 #include "lwlib-utils.h" | 28 #include "lwlib-utils.h" |
32 #include <X11/StringDefs.h> | 29 #include <X11/StringDefs.h> |
75 /* Forward declarations */ | 72 /* Forward declarations */ |
76 static void | 73 static void |
77 instanciate_widget_instance (/* widget_instance* instance */); | 74 instanciate_widget_instance (/* widget_instance* instance */); |
78 | 75 |
79 /* utility functions for widget_instance and widget_info */ | 76 /* utility functions for widget_instance and widget_info */ |
80 static char * | 77 char * |
81 safe_strdup (s) | 78 safe_strdup (s) |
82 char *s; | 79 char *s; |
83 { | 80 { |
84 char *result; | 81 char *result; |
85 if (! s) return 0; | 82 if (! s) return 0; |