Reorder declarations.
authorayin <ayin>
Wed, 26 Dec 2007 14:16:23 +0000 (14:16 +0000)
committerayin <ayin>
Wed, 26 Dec 2007 14:16:23 +0000 (14:16 +0000)
src/rxvt.h

index 51b302df88c5355329ede363c2ded0de67d6b596..492632538cb03f00db72cb87283b40f6b5ea2304 100644 (file)
@@ -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<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