X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=string.c;h=22d39056e8cbf6169914c25c58b6eb56b45f9cdf;hb=b28495993eef26688c998650d0e2bf944082704e;hp=afac0027fce2e8b4f63a35007a33b0d3e74bc7ce;hpb=defca4768aa9b02fca97b63159dd261e4871a3ce;p=dss.git diff --git a/string.c b/string.c index afac002..22d3905 100644 --- a/string.c +++ b/string.c @@ -1,5 +1,11 @@ +/* + * Copyright (C) 2004-2010 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ #include #include +#include #include #include #include @@ -9,7 +15,6 @@ #include -#include "cmdline.h" #include "gcc-compat.h" #include "log.h" #include "error.h" @@ -234,7 +239,7 @@ __must_check __malloc char *dss_logname(void) * * \return The number of substrings found in \a args. */ -__must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim) +unsigned split_args(char *args, char *** const argv_ptr, const char *delim) { char *p = args; char **argv;