diff options
author | Dai Sato <satodai@w3m.jp> | 2007-05-29 12:07:02 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2007-05-29 12:07:02 +0000 |
commit | 0dada820653a9e7c1cd68edc23010b794f2129ee (patch) | |
tree | c38bb139cfd2c66a634847a1d9ee7dd115f010a0 | |
parent | move 'gc' from $LIBS to $LIBGC. [w3m-dev 04259] (diff) | |
download | w3m-0dada820653a9e7c1cd68edc23010b794f2129ee.tar.gz w3m-0dada820653a9e7c1cd68edc23010b794f2129ee.zip |
delete unused macros, change void to static void. [w3m-dev 04260]
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | display.c | 5 | ||||
-rw-r--r-- | main.c | 9 |
3 files changed, 10 insertions, 11 deletions
@@ -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. @@ -8873,4 +8878,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.991 2007/05/29 12:01:04 inu Exp $ +$Id: ChangeLog,v 1.992 2007/05/29 12:07:02 inu Exp $ @@ -1,10 +1,7 @@ -/* $Id: display.c,v 1.69 2004/07/15 16:32:38 ukai Exp $ */ +/* $Id: display.c,v 1.70 2007/05/29 12:07:02 inu Exp $ */ #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 @@ -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) |