engine: modify NetAPI to follow const qualifiers
This commit is contained in:
parent
588dede2a2
commit
88ce5fd0b6
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ typedef struct net_api_s
|
|||
void (*SendRequest)( int context, int request, int flags, double timeout, struct netadr_s *remote_address, net_api_response_func_t response );
|
||||
void (*CancelRequest)( int context );
|
||||
void (*CancelAllRequests)( void );
|
||||
char *(*AdrToString)( struct netadr_s *a );
|
||||
const char *(*AdrToString)( struct netadr_s *a );
|
||||
int ( *CompareAdr)( struct netadr_s *a, struct netadr_s *b );
|
||||
int ( *StringToAdr)( char *s, struct netadr_s *a );
|
||||
const char *(*ValueForKey)( const char *s, const char *key );
|
||||
|
|
|
@ -3492,7 +3492,7 @@ NetAPI_AdrToString
|
|||
|
||||
=================
|
||||
*/
|
||||
char *NetAPI_AdrToString( netadr_t *a )
|
||||
const char *NetAPI_AdrToString( netadr_t *a )
|
||||
{
|
||||
return NET_AdrToString( *a );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue