From b7ee92e3b612664d4cf95ab035e0ce15e4841b1e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 16 Aug 2006 05:15:25 +0000 Subject: (debug_output_compilation_hack): New function. --- src/print.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/print.c') diff --git a/src/print.c b/src/print.c index c36b9476f82..ac8736d2aa4 100644 --- a/src/print.c +++ b/src/print.c @@ -924,6 +924,15 @@ to make it write to the debugging output. */) return character; } +/* This function is never called. Its purpose is to prevent + print_output_debug_flag from being optimized away. */ + +int +debug_output_compilation_hack (x) + int x; +{ + print_output_debug_flag = x; +} #if defined(GNU_LINUX) -- cgit v1.2.1 From 955940c790d9faa3cb1fc4cc88165f3caa468a5c Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 16 Aug 2006 12:32:57 +0000 Subject: (debug_output_compilation_hack): Fix return type. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print.c') diff --git a/src/print.c b/src/print.c index ac8736d2aa4..e56c231d30a 100644 --- a/src/print.c +++ b/src/print.c @@ -927,7 +927,7 @@ to make it write to the debugging output. */) /* This function is never called. Its purpose is to prevent print_output_debug_flag from being optimized away. */ -int +void debug_output_compilation_hack (x) int x; { -- cgit v1.2.1