]> Dogcows Code - chaz/rasterize/blobdiff - common.h
refactor triangle group into a separate class
[chaz/rasterize] / common.h
index 172b8af5507fd700766cf071b606bf05c9aeb7d9..537e135908d281d05af84a5c9da9337127615a00 100644 (file)
--- a/common.h
+++ b/common.h
@@ -246,10 +246,11 @@ void ltrim(char *str);
  * Trim white space off of both sides of a string.
  */
 INLINE_MAYBE
-void trim(char *str)
+char* trim(char *str)
 {
     rtrim(str);
     ltrim(str);
+    return str;
 }
 
 
This page took 0.019344 seconds and 4 git commands to generate.