X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=manfmt.c;h=1c6eeddab95049159fe9670ce39ccb5394449e98;hp=344a56cfeb04056b36e33de1074b580748f4a8dd;hb=6a96f22d3c3e11f63ee17687a9de7f4c6ba854c5;hpb=b56358ce77537daa7d462cb45030b71117452f5c diff --git a/manfmt.c b/manfmt.c index 344a56c..1c6eedd 100644 --- a/manfmt.c +++ b/manfmt.c @@ -1,19 +1,21 @@ +#define WANT_DECLARATIONS 1 #include "config.h" #ifndef lint static char rcsid[] ATTR_UNUSED = "$Id$"; #endif -/* - * $Log$ - * Revision 1.1.1.1 1999/05/26 13:06:26 short - * First alpha release. - * - */ - +#ifdef HAVE_STDIO_H #include -#include +#endif +#ifdef HAVE_STDLIB_H #include +#endif +#ifdef HAVE_STRING_H +#include +#endif +#ifdef HAVE_LIMITS_H #include +#endif static char buf[LINE_MAX]; @@ -31,6 +33,7 @@ char f; if (*s=='\t') { if ((f=!f)) { /*fprintf(stderr,"DURING TURN-ON:%s",s);*/ + while (s[1]==' ') s++; if (s[1]=='"') s++; } else {