fix missing string.h/strings.h includes and eol at eof problems

This commit is contained in:
Bill Currie 2001-03-07 05:43:24 +00:00
parent 04d3351727
commit 73bc23e117
9 changed files with 39 additions and 3 deletions

View file

@ -29,6 +29,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "draw.h"
#include "vid.h"

View file

@ -222,4 +222,4 @@ int GIB_ExpandBackticks (char *source, char *buffer, int buffersize)
}
}
return 0;
}
}

View file

@ -226,4 +226,4 @@ int GIB_ExpandEscapes (char *source)
m++;
}
return 0;
}
}

View file

@ -70,4 +70,4 @@ void GIB_SubStack_Push (gib_module_t *mod, gib_sub_t *sub, gib_var_t *local)
void GIB_SubStack_Pop (void)
{
gib_instack = realloc(gib_instack, sizeof(gib_instack_t) * (--gib_subsp));
}
}

View file

@ -29,6 +29,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <math.h>

View file

@ -29,6 +29,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "msg.h"
#include "qendian.h"

View file

@ -29,6 +29,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "sizebuf.h"
#include "sys.h"

View file

@ -29,6 +29,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "sound.h"
#include "compat.h"

View file

@ -29,6 +29,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "qendian.h"
#include "wad.h"