diff -up -ruN msim-1.3.7/src/parser.c msim-1.3.7.patched/src/parser.c --- msim-1.3.7/src/parser.c 2008-10-25 19:57:48.000000000 +0200 +++ msim-1.3.7.patched/src/parser.c 2009-10-12 00:43:38.000000000 +0200 @@ -356,7 +356,7 @@ static void parse_g_next(const char **s, * It is similar to the GNU extension variant. * */ -static char *strndup(const char *s, size_t max) +char *strndup(const char *s, size_t max) { size_t len; char *r;