make all files with rcsid include config.h

This commit is contained in:
Bill Currie 2003-01-14 20:18:29 +00:00
parent 9323f359db
commit a4dfef63c3
19 changed files with 71 additions and 0 deletions

View file

@ -30,3 +30,6 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>

View file

@ -31,6 +31,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include "QF/qtypes.h"
#include "QF/cbuf.h"

View file

@ -31,6 +31,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

View file

@ -31,6 +31,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>

View file

@ -31,6 +31,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <stdlib.h>

View file

@ -14,6 +14,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <direct.h>
#include <dirent.h>
#include <errno.h>

View file

@ -28,6 +28,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include "QF/sys.h"

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "QF/qendian.h"
#include "QF/quakeio.h"

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
extern int noconinput;
static int *const _noconinput = &noconinput;

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
extern int noconinput;
static int *const _noconinput = &noconinput;

View file

@ -19,6 +19,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
//
// gas to MASM source code converter
//

View file

@ -20,6 +20,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "bsp5.h"

View file

@ -34,6 +34,7 @@ static const char rcsid[] =
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -34,6 +34,7 @@ static const char rcsid[] =
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@ -98,6 +102,8 @@ main (int argc, char **argv)
}
fputs ("#include \"def.h\"\n\n", out);
fprintf (out, "static const char rcsid[] =\n\t\"%s\";\n", rcsid);
fprintf (out, "static const void *__rcsid_hack (void)\n");
fprintf (out, "{ __rcsid_hack (); return rcsid; }\n");
while (fgets (buf, sizeof (buf), in)) {
switch (state) {
case 0:

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

View file

@ -30,6 +30,10 @@
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <QF/cmd.h>