hah, should have been using __attribute__((used)) all that time (rather

than __attribute__((unused))). fixes the missing console in -x11
This commit is contained in:
Bill Currie 2005-08-04 15:27:09 +00:00
parent 5d509bea81
commit 3fb03fc2be
413 changed files with 419 additions and 419 deletions

View file

@ -31,5 +31,5 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";

View file

@ -30,7 +30,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/cdaudio.h"

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <errno.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "winquake.h"

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_FLAC

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_WILDMIDI

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_VORBIS

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -30,7 +30,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/cvar.h"

View file

@ -29,7 +29,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdio.h>

View file

@ -29,7 +29,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdio.h>

View file

@ -29,7 +29,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_UNISTD_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_SYS_TYPES_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <errno.h>

View file

@ -30,7 +30,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_UNISTD_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#define CINTERFACE

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdarg.h>
@ -47,7 +47,7 @@ int con_linewidth; // characters across screen
plugin_t *con_module;
#define U __attribute__ ((unused))
#define U __attribute__ ((used))
static U con_buffer_t *(*const buffer) (size_t, int) = Con_CreateBuffer;
static U void (*const complete)(inputline_t *) = Con_BasicCompleteCommandLine;
static U inputline_t *(*const create)(int, int, char) = Con_CreateInputLine;

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_CURSES_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -29,7 +29,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_ERRNO_H
@ -53,7 +53,7 @@ static __attribute__ ((unused)) const char rcsid[] =
#include "compat.h"
#include "QF/csqc.h"
#define U __attribute__ ((unused))
#define U __attribute__ ((used))
static U void (*const gib_progs_init)(progs_t *) = GIB_Progs_Init;
static U void (*const inputline_progs_init)(progs_t *) = InputLine_Progs_Init;
#undef U

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] = "$Id$";
#include <stdlib.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] =
"$Id$";

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] =
"$Id$";

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] =
"$Id$";

View file

@ -35,7 +35,7 @@
#include "gib_handle.h"
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
static unsigned long int gib_next_handle;

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] =
"$Id$";

View file

@ -39,7 +39,7 @@
#include <stdlib.h>
#include <ctype.h>
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/hash.h"

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] = "$Id$";
#include <ctype.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] = "$Id$";
#include <string.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] =
"$Id$";

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] = "$Id$";
#include <stdlib.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] = "$Id$";
#include <stdlib.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused))
static __attribute__ ((used))
const char rcsid[] = "$Id$";
#include <string.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_PNG

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/cvar.h"

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/model.h"

View file

@ -31,7 +31,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -29,7 +29,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_UNISTD_H

View file

@ -34,7 +34,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_UNISTD_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "netmain.h"

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/cvar.h"

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <sys/types.h>

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/msg.h"

View file

@ -28,7 +28,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "net_loop.h"

View file

@ -29,7 +29,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "winquake.h"

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#ifdef HAVE_STRING_H

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/dstring.h"

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/classes/Iterator.h"

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include "QF/classes/List.h"

View file

@ -32,7 +32,7 @@
# include "config.h"
#endif
static __attribute__ ((unused)) const char rcsid[] =
static __attribute__ ((used)) const char rcsid[] =
"$Id$";
#include <stdlib.h>

Some files were not shown because too many files have changed in this diff Show more