From e5ec812c8480092f07bde68e151e3ad2fbae2b80 Mon Sep 17 00:00:00 2001 From: ayin Date: Wed, 26 Dec 2007 14:16:23 +0000 Subject: [PATCH] Reorder declarations. --- src/rxvt.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/rxvt.h b/src/rxvt.h index 51b302df..49263253 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -108,9 +108,10 @@ class out_of_input { }; ***************************************************************************** */ // main.C -void * rxvt_malloc (size_t size); -void * rxvt_calloc (size_t number, size_t size); -void * rxvt_realloc (void *ptr, size_t size); +#define SET_LOCALE(locale) rxvt_set_locale (locale) +extern bool rxvt_set_locale (const char *locale) NOTHROW; +extern void rxvt_push_locale (const char *locale) NOTHROW; +extern void rxvt_pop_locale () NOTHROW; // misc.C char * rxvt_wcstombs (const wchar_t *str, int len = -1); @@ -129,6 +130,10 @@ char * rxvt_strtrim (char *str) NOTHROW; char ** rxvt_splitcommastring (const char *cs) NOTHROW; void rxvt_freecommastring (char **cs) NOTHROW; +void * rxvt_malloc (size_t size); +void * rxvt_calloc (size_t number, size_t size); +void * rxvt_realloc (void *ptr, size_t size); + ///////////////////////////////////////////////////////////////////////////// // temporarily replace the process environment @@ -725,11 +730,6 @@ typedef struct _mwmhints { typedef callback log_callback; typedef callback getfd_callback; -#define SET_LOCALE(locale) rxvt_set_locale (locale) -extern bool rxvt_set_locale (const char *locale) NOTHROW; -extern void rxvt_push_locale (const char *locale) NOTHROW; -extern void rxvt_pop_locale () NOTHROW; - /****************************************************************************/ #define LINE_LONGER 0x0001 // line is continued on the next row -- 2.34.1