delete unused macros, change void to static void. [w3m-dev 04260]

This commit is contained in:
Dai Sato
2007-05-29 12:07:02 +00:00
parent 6c28792111
commit 0dada82065
3 changed files with 10 additions and 11 deletions
+6 -1
View File
@@ -1,3 +1,8 @@
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)
@@ -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 -4
View File
@@ -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
+3 -6
View File
@@ -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)