diff --git a/docs/Makefile.in b/docs/Makefile.in
index 6e85b15..cb1d914 100644
--- ./docs/Makefile.in
+++ ./docs/Makefile.in
@@ -439,7 +439,7 @@ checkdoc.o: checkdoc.c $(BUILT_SOURCES)
 	$(COMPILE) -DALL_TERM_DOC -c $(srcdir)/checkdoc.c
 
 # install section
-install: install-gih install-info install-pdf
+install: install-gih install-pdf
 
 install-gih: gnuplot.gih
 	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(GIHDIR)
diff --git a/src/syscfg.h b/src/syscfg.h
index 9b347d8..e757148 100644
--- ./src/syscfg.h
+++ ./src/syscfg.h
@@ -188,7 +188,7 @@
 #ifdef PROTOTYPES
 # define __PROTO(proto) proto
 #else
-# define __PROTO(proto) ()
+# define __PROTO(proto) proto
 #endif
 
 /* DOS/Windows stuff. Moved here from command.c */
diff --git a/src/version.c b/src/version.c
index 9629cf5..eb4576f 100644
--- ./src/version.c
+++ ./src/version.c
@@ -41,7 +41,7 @@ static char *RCSid() { return RCSid("$Id: version.c,v 1.100.2.3 2012/03/02 20:00
 
 const char gnuplot_version[] = "4.6";
 const char gnuplot_patchlevel[] = "0";
-const char gnuplot_date[] = "March 2012";
+const char gnuplot_date[] = "2012-03-04 ";
 const char gnuplot_copyright[] = "Copyright (C) 1986-1993, 1998, 2004, 2007-2012";
 
 const char faq_location[] = FAQ_LOCATION;
diff --git a/term/lua.trm b/term/lua.trm
index eeec626..3146b02 100644
--- ./term/lua.trm
+++ ./term/lua.trm
@@ -247,7 +247,7 @@ LUA_GP_int_error(lua_State *L) {
       msg = luaL_checkstring(L, 1);
       break;
     case 2:
-      t_num = luaL_checkint(L, 1);
+      t_num = luaL_checkinteger(L, 1);
       msg  = luaL_checkstring(L, 2);
       break;
     default:
@@ -281,7 +281,7 @@ LUA_GP_int_warn(lua_State *L) {
       msg = luaL_checkstring(L, 1);
       break;
     case 2:
-      t_num = luaL_checkint(L, 1);
+      t_num = luaL_checkinteger(L, 1);
       msg = luaL_checkstring(L, 2);
       break;
     default:
