diff --git a/src/ChangeLog b/src/ChangeLog index 0f9e68a78..209e327cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2000-09-01 Pavel Roskin + + * fixhlp.c: fixed compile errors and warnings + 2000-08-30 Pavel Roskin * dirhist.c, dirhist.h: removed diff --git a/src/fixhlp.c b/src/fixhlp.c index a3b658d1e..23569d7b4 100644 --- a/src/fixhlp.c +++ b/src/fixhlp.c @@ -21,6 +21,7 @@ #include #include #include +#include "global.h" #include "help.h" static int width; /* Output width in characters */ @@ -92,8 +93,6 @@ int string_len (char *buffer) void print_string (char *buffer) { int len; /* The length of current word */ - int i; /* Index */ - int c; /* Current character */ char *p; /* Split into words */ @@ -162,7 +161,6 @@ int main (int argc, char **argv) { int len; /* Length of input line */ char buffer [BUF_LARGE]; /* Input line */ - int i, j; char *p; int ignore_newline = 0;