Cleanup the rest of pkg_parse.c. Give some functions more appropriate names too.
[oweals/opkg-lede.git] / libopkg / opkg_utils.c
index d40999ff50cf018e0d489927df090caef3a8a5f4..2bb7c2e476e411d174de146823c6fccb8c986d1f 100644 (file)
@@ -48,7 +48,7 @@ long unsigned int get_available_blocks(char * filesystem)
 }
 
 /* something to remove whitespace, a hash pooper */
-char *trim_alloc(const char *src)
+char *trim_xstrdup(const char *src)
 {
      const char *end;