X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.h;h=61429f34577bf630975e369e478a431c7d291a9c;hp=ad8948c32cc2cf8bb2d6542b4c6a77f4e1752633;hb=d8b3faa8711d172ee66f8c6e30f154dc7de4646d;hpb=87d9371a5c08f5b05ba70b11c63df80960b40831 diff --git a/gmqcc.h b/gmqcc.h index ad8948c..61429f3 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -25,7 +25,7 @@ #define GMQCC_HDR #include #include -#include /* TODO remove?*/ +#include /* TODO: remove?*/ /* * Disable some over protective warnings in visual studio because fixing them is a waste @@ -312,6 +312,9 @@ const char *util_strerror(int err); const struct tm *util_localtime(const time_t *timer); const char *util_ctime (const time_t *timer); +typedef struct fs_file_s fs_file_t; +bool util_isatty (fs_file_t *); + /* * A flexible vector implementation: all vector pointers contain some * data about themselfs exactly - sizeof(vector_t) behind the pointer @@ -404,7 +407,7 @@ int util_snprintf(char *str, size_t, const char *fmt, ...); #define FS_FILE_EOF -1 typedef struct fs_dir_s fs_dir_t; -typedef struct fs_file_s fs_file_t; +/*typedef struct fs_file_s fs_file_t;*/ typedef struct dirent fs_dirent_t; void fs_file_close (fs_file_t *);