From e29bb7fa64a57658a450b17535b16aa831c7faf2 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Mon, 7 Jan 2013 09:24:29 -0800 Subject: Fix compiler warnings (cherry picked from commit b550ff683e379086e2253d4aaaf11aafbc9fe6d7) --- src/commit2.cpp | 4 +--- src/dump_session.c | 2 +- src/exe_action.c | 2 +- src/priority.c | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/commit2.cpp b/src/commit2.cpp index be51069..ceee986 100644 --- a/src/commit2.cpp +++ b/src/commit2.cpp @@ -5,7 +5,7 @@ #include #include #include -#include +#include /* g_type_init */ #include "common/common.h" #include "cli_path_utils.h" @@ -29,8 +29,6 @@ boolean g_old_print_output = FALSE; #define g_num_actions 5 -extern "C" void g_type_init(); - // this uses the vtw_act_type enum const int ActionOrder[g_num_actions] = { begin_act, diff --git a/src/dump_session.c b/src/dump_session.c index 5a3a73e..040a270 100644 --- a/src/dump_session.c +++ b/src/dump_session.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include /* g_type_init */ #include "common/common.h" boolean g_debug = FALSE; diff --git a/src/exe_action.c b/src/exe_action.c index 752a1d9..6aa3fe4 100644 --- a/src/exe_action.c +++ b/src/exe_action.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include /* g_type_init */ #include "common/common.h" boolean g_debug = FALSE; diff --git a/src/priority.c b/src/priority.c index cb40b9a..72209b6 100644 --- a/src/priority.c +++ b/src/priority.c @@ -5,7 +5,7 @@ #include #include #include - +#include /* g_type_init */ void recurse(char *cur_dir,FILE *out); -- cgit v1.2.3