diff --git a/include/QF/progs.h b/include/QF/progs.h index 1f3255f4c..8b7a3cc1b 100644 --- a/include/QF/progs.h +++ b/include/QF/progs.h @@ -81,9 +81,6 @@ void ED_ClearEdict (progs_t * pr, edict_t *e, int val); edict_t *ED_Alloc (progs_t *pr); void ED_Free (progs_t *pr, edict_t *ed); -char *ED_NewString (progs_t *pr, const char *string); -// returns a copy of the string allocated from the server's string heap - void ED_Print (progs_t *pr, edict_t *ed); void ED_Write (progs_t *pr, QFile *f, edict_t *ed); const char *ED_ParseEdict (progs_t *pr, const char *data, edict_t *ent); diff --git a/libs/gamecode/engine/pr_parse.c b/libs/gamecode/engine/pr_parse.c index b4965d2f2..4443b1584 100644 --- a/libs/gamecode/engine/pr_parse.c +++ b/libs/gamecode/engine/pr_parse.c @@ -158,9 +158,6 @@ ED_Write (progs_t *pr, QFile *f, edict_t *ed) FIXME: need to tag constants, doesn't really work */ -/* - ED_WriteGlobals -*/ void ED_WriteGlobals (progs_t *pr, QFile *f) { @@ -189,10 +186,7 @@ ED_WriteGlobals (progs_t *pr, QFile *f) } -/* - ED_NewString -*/ -char * +static char * ED_NewString (progs_t *pr, const char *string) { char *new, *new_p; @@ -378,9 +372,6 @@ ED_ParseEdict (progs_t *pr, const char *data, edict_t *ent) return data; } -/* - ED_ParseGlobals -*/ void ED_ParseGlobals (progs_t *pr, const char *data) {