diff options
author | Brian <[email protected]> | 2007-02-26 17:32:45 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-26 17:32:45 -0700 |
commit | aa6f4241f8d9e301e056968a1eb85bb27b7fa55a (patch) | |
tree | a381cf9a9eed4bb0462d8ad2c3c8aaca3b795044 /src | |
parent | b58ea057feb7a00329fe92fe41e1d408e7c76065 (diff) |
formatting fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_utility.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mesa/shader/slang/slang_utility.c b/src/mesa/shader/slang/slang_utility.c index 9b98a2c76c8..0fbfcc5840a 100644 --- a/src/mesa/shader/slang/slang_utility.c +++ b/src/mesa/shader/slang/slang_utility.c @@ -31,11 +31,13 @@ #include "imports.h" #include "slang_utility.h" -char *slang_string_concat (char *dst, const char *src) +char * +slang_string_concat (char *dst, const char *src) { - return _mesa_strcpy (dst + _mesa_strlen (dst), src); + return _mesa_strcpy (dst + _mesa_strlen (dst), src); } + /* slang_string */ GLvoid @@ -156,8 +158,8 @@ slang_atom_pool_destruct (slang_atom_pool * pool) slang_alloc_free(entry->id); slang_alloc_free(entry); entry = next; - } - } + } + } } /* @@ -211,11 +213,11 @@ slang_atom_pool_atom(slang_atom_pool * pool, const char * id) return (slang_atom) (**entry).id; } -/* +/** * Return the name of a given atom. */ const char * slang_atom_pool_id(slang_atom_pool * pool, slang_atom atom) { - return (const char *) (atom); + return (const char *) (atom); } |