server/src/prefix.h
Enno Rehling 4e5f1d05ce Be very strict about C standards.
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00

17 lines
265 B
C

#pragma once
#ifndef PREFIX_H
#define PREFIX_H
#ifdef __cplusplus
extern "C" {
#endif
int add_raceprefix(const char *);
char **race_prefixes; /* zero-terminated array of valid prefixes */
void free_prefixes(void);
#ifdef __cplusplus
}
#endif
#endif