same as last

This commit is contained in:
Walter Julius Hennecke 2013-05-24 22:27:00 +02:00
parent 2c91fb8df7
commit 063a4cabcf
3 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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 ) {

View file

@ -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;