*****************************************************************************
*/
// 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);
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
typedef callback<void (const char *)> log_callback;
typedef callback<int (int)> 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