X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=common.h;fp=common.h;h=537e135908d281d05af84a5c9da9337127615a00;hp=172b8af5507fd700766cf071b606bf05c9aeb7d9;hb=143da66e7f625b7f195a115b9740a748ee003534;hpb=e00aec23409a0f95317c110305e6448ec882bd0e diff --git a/common.h b/common.h index 172b8af..537e135 100644 --- 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; }