From 063a4cabcfe4ca8560787409eaa5fc8fc5bfa9fc Mon Sep 17 00:00:00 2001 From: Walter Julius Hennecke Date: Fri, 24 May 2013 22:27:00 +0200 Subject: [PATCH] same as last --- code/game/g_local.h | 4 ++-- code/game/g_mem.c | 2 +- code/game/g_spawn.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/g_local.h b/code/game/g_local.h index fa09fa6..b3009a9 100644 --- a/code/game/g_local.h +++ b/code/game/g_local.h @@ -793,7 +793,7 @@ void G_SpawnEntitiesFromString( void ); * \param string String to copy. * \return Copy of the string. */ -char* G_NewString( const char* string ); +/*@shared@*/ /*@null@*/ char* G_NewString( /*@null@*/ const char* string ); // // g_cmds.c @@ -2237,7 +2237,7 @@ void ThrowWeapon( gentity_t* ent, char* txt ); * * \param size Amount of memory to allocate. */ -void* G_Alloc( int size ); +/*@shared@*/ /*@null@*/ void* G_Alloc( int size ); /** * Init memory pool. diff --git a/code/game/g_mem.c b/code/game/g_mem.c index bb7a3b1..ad6c059 100644 --- a/code/game/g_mem.c +++ b/code/game/g_mem.c @@ -13,7 +13,7 @@ static char memoryPool[POOLSIZE]; static int allocPoint; -/*@shared@*/ /*@null@*/ void *G_Alloc( int size ) { +void *G_Alloc( int size ) { char *p; if ( g_debugAlloc.integer ) { diff --git a/code/game/g_spawn.c b/code/game/g_spawn.c index 144d0d9..aea8190 100644 --- a/code/game/g_spawn.c +++ b/code/game/g_spawn.c @@ -512,7 +512,7 @@ Builds a copy of the string, translating \n to real linefeeds so message texts can be multi-line ============= */ -/*@shared@*/ /*@null@*/ char *G_NewString( /*@null@*/ const char *string ) { +char *G_NewString( const char *string ) { char *newb, *new_p; int i,l;