[gnumeric] go-string: fix a prototype.



commit 9245f9ee4f962b390fd697ed921e4016a3587c0a
Author: Morten Welinder <terra gnome org>
Date:   Tue Jun 9 15:06:50 2009 -0400

    go-string: fix a prototype.
---
 ChangeLog       |    2 ++
 src/go-string.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 29fce41..9dce560 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-06-09  Morten Welinder  <terra gnome org>
 
+	* src/go-string.c (go_string_ERROR): Fix prototype.
+
 	* src/mathfunc.c (gnm_cot, gnm_acot): New functions.
 
 	* src/sheet-style.c (sheet_style_find): Keep style hash entries
diff --git a/src/go-string.c b/src/go-string.c
index 490e5a2..06589aa 100644
--- a/src/go-string.c
+++ b/src/go-string.c
@@ -406,7 +406,7 @@ static GOString *go_string_ERROR_val = NULL;
  * Returns : A string saying 'ERROR' but does not add a ref to it.
  **/
 GOString *
-go_string_ERROR ()
+go_string_ERROR (void)
 {
 	if (NULL == go_string_ERROR_val)
 		go_string_ERROR_val = go_string_new ("<ERROR>");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]