commit 79789d79985a11f91c7c5ab1a4a69b8b03af0349
parent 9db51e56d8f64253ad75d6c97064bc7a22dc102c
Author: inu <inu>
Date: Tue, 29 May 2007 12:07:02 +0000
delete unused macros, change void to static void. [w3m-dev 04260]
Diffstat:
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,10 @@
2007-05-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 04260] Warning (Re: road to 0.5.2)
+ * main.c, display.c: delete unused macros, change void to static void.
+
+2007-05-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 04259] long long (Re: road to 0.5.2)
* Makefile.in, aclocal.m4: move 'gc' from $LIBS to $LIBGC.
* configure: regenerated.
diff --git a/display.c b/display.c
@@ -2,9 +2,6 @@
#include <signal.h>
#include "fm.h"
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-
/* *INDENT-OFF* */
#ifdef USE_COLOR
diff --git a/main.c b/main.c
@@ -1494,9 +1494,6 @@ SigPipe(SIGNAL_ARG)
* Command functions: These functions are called with a keystroke.
*/
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-
static void
nscroll(int n, int mode)
{
@@ -6176,7 +6173,7 @@ DEFUN(prevT, PREV_TAB, "Move to previous tab")
displayBuffer(Currentbuf, B_REDRAW_IMAGE);
}
-void
+static void
followTab(TabBuffer * tab)
{
Buffer *buf;
@@ -6278,7 +6275,7 @@ DEFUN(tabrURL, TAB_GOTO_RELATIVE, "Open relative URL on new tab")
"Goto relative URL on new tab: ", TRUE);
}
-void
+static void
moveTab(TabBuffer * t, TabBuffer * t2, int right)
{
if (t2 == NO_TABBUFFER)