# HG changeset patch # User Ethan Blanton # Date 1070647347 0 # Node ID 4e5c48ea9478eece122b547c9217f927d1568fbc # Parent 1f4005fcd872c5d4fbd53427f8c3062cbed6e532 [gaim-migrate @ 8413] This is really const, and informing the compiler might improve inlining committer: Tailor Script diff -r 1f4005fcd872 -r 4e5c48ea9478 src/stringref.c --- a/src/stringref.c Fri Dec 05 17:28:22 2003 +0000 +++ b/src/stringref.c Fri Dec 05 18:02:27 2003 +0000 @@ -71,7 +71,7 @@ g_free(stringref); } -const char *gaim_stringref_value(GaimStringref *stringref) +const char *gaim_stringref_value(const GaimStringref *stringref) { return (stringref == NULL ? NULL : stringref->value); } diff -r 1f4005fcd872 -r 4e5c48ea9478 src/stringref.h --- a/src/stringref.h Fri Dec 05 17:28:22 2003 +0000 +++ b/src/stringref.h Fri Dec 05 18:02:27 2003 +0000 @@ -93,6 +93,6 @@ * * @return The contents of the string reference. */ -const char *gaim_stringref_value(GaimStringref *stringref); +const char *gaim_stringref_value(const GaimStringref *stringref); #endif /* _GAIM_STRINGREF_H_ */