aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2007-05-29 12:07:02 +0000
committerDai Sato <satodai@w3m.jp>2007-05-29 12:07:02 +0000
commit0dada820653a9e7c1cd68edc23010b794f2129ee (patch)
treec38bb139cfd2c66a634847a1d9ee7dd115f010a0 /main.c
parentmove 'gc' from $LIBS to $LIBGC. [w3m-dev 04259] (diff)
downloadw3m-0dada820653a9e7c1cd68edc23010b794f2129ee.tar.gz
w3m-0dada820653a9e7c1cd68edc23010b794f2129ee.zip
delete unused macros, change void to static void. [w3m-dev 04260]
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/main.c b/main.c
index af4f395..614ed4b 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.255 2007/05/23 15:06:05 inu Exp $ */
+/* $Id: main.c,v 1.256 2007/05/29 12:07:02 inu Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -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)