From 3cfef80e56979634e21dc7670ab9c381e6d2a46c Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 24 Aug 2012 11:00:32 +0000 Subject: Fix build with clang --- math/calctool/files/patch-functions.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 math/calctool/files/patch-functions.c (limited to 'math/calctool/files/patch-functions.c') diff --git a/math/calctool/files/patch-functions.c b/math/calctool/files/patch-functions.c new file mode 100644 index 000000000000..c1b21b5e5fe9 --- /dev/null +++ b/math/calctool/files/patch-functions.c @@ -0,0 +1,26 @@ +--- ./functions.c.orig 1993-06-02 19:13:52.000000000 +0200 ++++ ./functions.c 2012-08-24 12:53:33.505914506 +0200 +@@ -233,6 +233,7 @@ + } + + ++void + do_help() /* Show online help facility. */ + { + char help_str[MAXLINE], nextline[MAXLINE], *p ; +@@ -333,6 +334,7 @@ + } + + ++void + do_number() + { + int n ; +@@ -371,6 +373,7 @@ + } + + ++void + do_pending() + { + if (base != DEC) grey_buttons(DEC) ; /* Reshow all the keys. */ -- cgit v1.2.3