mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
34bcf7faab
I always wanted these, but as gcc now provides warnings for functions that could do with such attributes, finding all the functions is much easier.
33 lines
1 KiB
C
33 lines
1 KiB
C
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#include "class.h"
|
|
#include "codespace.h"
|
|
#include "diagnostic.h"
|
|
#include "debug.h"
|
|
#include "def.h"
|
|
#include "defspace.h"
|
|
#include "emit.h"
|
|
#include "expr.h"
|
|
#include "function.h"
|
|
#include "obj_file.h"
|
|
#include "options.h"
|
|
#include "qfcc.h"
|
|
#include "strpool.h"
|
|
#include "type.h"
|
|
#include "value.h"
|
|
|
|
struct dstring_s;
|
|
options_t options;
|
|
int num_linenos;
|
|
pr_lineno_t *linenos;
|
|
pr_info_t pr;
|
|
__attribute__((const)) string_t ReuseString (const char *str) {return 0;}
|
|
void encode_type (struct dstring_s *str, const type_t *type) {}
|
|
__attribute__((const)) codespace_t *codespace_new (void) {return 0;}
|
|
void codespace_addcode (codespace_t *codespace, struct dstatement_s *code, int size) {}
|
|
__attribute__((const)) int function_parms (function_t *f, byte *parm_size) {return 0;}
|
|
void def_to_ddef (def_t *def, ddef_t *ddef, int aux) {}
|
|
__attribute__((const)) expr_t *warning (expr_t *e, const char *fmt, ...) {return 0;}
|
|
__attribute__((const)) expr_t *error (expr_t *e, const char *fmt, ...) {return 0;}
|