diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2006-02-12 20:26:20 +1300 | 
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2006-02-12 20:26:20 +1300 | 
| commit | 5ebe625399d5116e222d6389434f645e906265ec (patch) | |
| tree | 91a48ae6564ed891a23b1f5de2f630185fd0b39d /protocols/msn/tables.c | |
| parent | a323a22773714a19254db34156500a67e5916451 (diff) | |
| parent | 58bc4e69967a8feec0a60dfab716985191c12817 (diff) | |
Merge
Diffstat (limited to 'protocols/msn/tables.c')
| -rw-r--r-- | protocols/msn/tables.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/protocols/msn/tables.c b/protocols/msn/tables.c index 2741048a..f8e98350 100644 --- a/protocols/msn/tables.c +++ b/protocols/msn/tables.c @@ -26,7 +26,7 @@  #include "nogaim.h"  #include "msn.h" -struct msn_away_state msn_away_state_list[] = +const struct msn_away_state msn_away_state_list[] =  {  	{  0, "NLN", "Available" },  	{  1, "BSY", "Busy" }, @@ -39,7 +39,7 @@ struct msn_away_state msn_away_state_list[] =  	{ -1, "",    "" }  }; -struct msn_away_state *msn_away_state_by_number( int number ) +const struct msn_away_state *msn_away_state_by_number( int number )  {  	int i; @@ -50,7 +50,7 @@ struct msn_away_state *msn_away_state_by_number( int number )  	return( NULL );  } -struct msn_away_state *msn_away_state_by_code( char *code ) +const struct msn_away_state *msn_away_state_by_code( char *code )  {  	int i; @@ -61,7 +61,7 @@ struct msn_away_state *msn_away_state_by_code( char *code )  	return( NULL );  } -struct msn_away_state *msn_away_state_by_name( char *name ) +const struct msn_away_state *msn_away_state_by_name( char *name )  {  	int i; @@ -72,7 +72,7 @@ struct msn_away_state *msn_away_state_by_name( char *name )  	return( NULL );  } -struct msn_status_code msn_status_code_list[] = +const struct msn_status_code msn_status_code_list[] =  {  	{ 200, "Invalid syntax",                                        0 },  	{ 201, "Invalid parameter",                                     0 }, @@ -143,7 +143,7 @@ struct msn_status_code msn_status_code_list[] =  	{  -1, NULL,                                                    0 }  }; -struct msn_status_code *msn_status_by_number( int number ) +const struct msn_status_code *msn_status_by_number( int number )  {  	static struct msn_status_code *unknown = NULL;  	int i; | 
