about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.c13
-rw-r--r--xxxterm.h2
2 files changed, 4 insertions, 11 deletions
diff --git a/xxxterm.c b/xxxterm.c
index d309862..ed7e01e 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -25,7 +25,7 @@
 char		*version = XXXTERM_VERSION;
 
 #ifdef XT_DEBUG
-u_int32_t		swm_debug = 0
+uint32_t		swm_debug = 0
 			    | XT_D_MOVE
 			    | XT_D_KEY
 			    | XT_D_TAB
@@ -222,16 +222,9 @@ void		set_current_tab(int page_num);
 gboolean	update_statusbar_position(GtkAdjustment*, gpointer);
 void		marks_clear(struct tab *t);
 
-/* windows uses a different argv declaration */
-#if __MINGW32__
-#define	ARGV_TYPE	const char **
-#else
-#define	ARGV_TYPE	char * const *
-#endif
-
 /* globals */
 extern char		*__progname;
-ARGV_TYPE		start_argv;
+char * const		*start_argv;
 struct passwd		*pwd;
 GtkWidget		*main_window;
 GtkNotebook		*notebook;
@@ -7353,7 +7346,7 @@ main(int argc, char **argv)
 	FILE			*f = NULL;
 	struct karg		a;
 
-	start_argv = (ARGV_TYPE)argv;
+	start_argv = (char * const *)argv;
 
 	/* prepare gtk */
 #ifdef USE_THREADS
diff --git a/xxxterm.h b/xxxterm.h
index 32ef75b..ae58a79 100644
--- a/xxxterm.h
+++ b/xxxterm.h
@@ -142,7 +142,7 @@ THE SOFTWARE.
 #define XT_D_INSPECTOR		0x8000
 #define XT_D_VISITED		0x10000
 #define XT_D_HISTORY		0x20000
-extern u_int32_t	swm_debug;
+extern uint32_t	swm_debug;
 #else
 #define DPRINTF(x...)
 #define DNPRINTF(n,x...)