* fixhlp.c: fixed compile errors and warnings
Этот коммит содержится в:
родитель
8800ca2bbf
Коммит
ec00659ad4
@ -1,3 +1,7 @@
|
|||||||
|
2000-09-01 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* fixhlp.c: fixed compile errors and warnings
|
||||||
|
|
||||||
2000-08-30 Pavel Roskin <proski@gnu.org>
|
2000-08-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* dirhist.c, dirhist.h: removed
|
* dirhist.c, dirhist.h: removed
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "global.h"
|
||||||
#include "help.h"
|
#include "help.h"
|
||||||
|
|
||||||
static int width; /* Output width in characters */
|
static int width; /* Output width in characters */
|
||||||
@ -92,8 +93,6 @@ int string_len (char *buffer)
|
|||||||
void print_string (char *buffer)
|
void print_string (char *buffer)
|
||||||
{
|
{
|
||||||
int len; /* The length of current word */
|
int len; /* The length of current word */
|
||||||
int i; /* Index */
|
|
||||||
int c; /* Current character */
|
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
/* Split into words */
|
/* Split into words */
|
||||||
@ -162,7 +161,6 @@ int main (int argc, char **argv)
|
|||||||
{
|
{
|
||||||
int len; /* Length of input line */
|
int len; /* Length of input line */
|
||||||
char buffer [BUF_LARGE]; /* Input line */
|
char buffer [BUF_LARGE]; /* Input line */
|
||||||
int i, j;
|
|
||||||
char *p;
|
char *p;
|
||||||
int ignore_newline = 0;
|
int ignore_newline = 0;
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user