diff util.h @ 498:b6f6c989deab

Add str_trim_right().
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 01 Jun 2012 04:43:53 +0300
parents 73f8df0ecffe
children 291e3caa91a0
line wrap: on
line diff
--- a/util.h	Sun May 27 13:28:51 2012 +0300
+++ b/util.h	Fri Jun 01 04:43:53 2012 +0300
@@ -83,6 +83,7 @@
 
 BOOL str_get_timestamp(char *str, size_t len, const char *fmt);
 char * str_trim_left(char *buf);
+char * str_trim_right(char *buf);
 int str_compare(const void *s1, const void *s2);
 
 #endif