diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2014-05-30 17:22:29 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2014-05-30 17:22:29 +0400 |
commit | a084532342d401455a818a1132d4aa1bc58a0d69 (patch) | |
tree | 7ae86c40d7c47ef7165d99efabb97135f527df11 /lwlib/lwlib-int.h | |
parent | e50e034033a3ec5eae90a7fbcb6d2da0b5111787 (diff) | |
download | emacs-a084532342d401455a818a1132d4aa1bc58a0d69.tar.gz emacs-a084532342d401455a818a1132d4aa1bc58a0d69.tar.bz2 emacs-a084532342d401455a818a1132d4aa1bc58a0d69.zip |
Use common string allocation and freeing functions where applicable.
* lwlib.h (safe_strdup): Remove prototype.
* lwlib.c (safe_strdup, safe_free_str): Remove.
(copy_widget_value_tree, allocate_widget_info, free_widget_info):
(merge_widget_value): Prefer xstrdup, xfree and dupstring.
* lwlib-Xm.c (make_destroyed_instance, xm_update_one_value): Ditto.
Diffstat (limited to 'lwlib/lwlib-int.h')
-rw-r--r-- | lwlib/lwlib-int.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lwlib/lwlib-int.h b/lwlib/lwlib-int.h index 570dcf5f11b..f2def4cdd0e 100644 --- a/lwlib/lwlib-int.h +++ b/lwlib/lwlib-int.h @@ -23,8 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "lwlib.h" -extern char *safe_strdup (const char *); - struct widget_xft_data; typedef struct _widget_instance |