summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
commite9ef9e807a07a32027cede2ff9c63758a651032c (patch)
tree12198a7c64eeb738685ba20f555dde0587dc5782 /error.c
parent0a776553a1a55a3502bcd0b4f44d47a80c7227d9 (diff)
downloadruby-e9ef9e807a07a32027cede2ff9c63758a651032c.tar.gz
ruby-e9ef9e807a07a32027cede2ff9c63758a651032c.tar.xz
ruby-e9ef9e807a07a32027cede2ff9c63758a651032c.zip
* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
Huehner <stefan at huehner.org>. [ruby-core:10543] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/error.c b/error.c
index 7eecc677c..d296bff06 100644
--- a/error.c
+++ b/error.c
@@ -26,8 +26,8 @@
extern const char ruby_version[], ruby_release_date[], ruby_platform[];
int ruby_nerrs;
-const char *rb_sourcefile();
-int rb_sourceline();
+const char *rb_sourcefile(void);
+int rb_sourceline(void);
static int
err_position(char *buf, long len)
@@ -148,7 +148,7 @@ rb_warn_m(VALUE self, VALUE mesg)
return Qnil;
}
-void yarv_bug();
+void yarv_bug(void);
void
rb_bug(const char *fmt, ...)