X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=string.c;h=fb23d93b29081eb549e4112d0c60f2600c93e9ed;hp=4775175dcca010ea723fcf2660a6be71fed7a3fe;hb=cd5cfb4c2dbbf5615c78d1e439f0cbfb08437b43;hpb=3d29aa18911043879fcd4412fa25b0ab5f5e95bb diff --git a/string.c b/string.c index 4775175..fb23d93 100644 --- a/string.c +++ b/string.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2008 Andre Noll + * Copyright (C) 2004-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -220,7 +220,7 @@ __must_check int atoi64(const char *str, int64_t *result) * \param argv_ptr Pointer to the list of substrings. * \param delim Delimiter. * - * This function modifies \a args by replacing each occurance of \a delim by + * This function modifies \a args by replacing each occurrence of \a delim by * zero. A \p NULL terminated array of pointers to char* is allocated dynamically * and these pointers are initialized to point to the broken-up substrings * within \a args. A pointer to this array is returned via \a argv_ptr. @@ -229,7 +229,7 @@ __must_check int atoi64(const char *str, int64_t *result) */ unsigned split_args(char *args, char *** const argv_ptr, const char *delim) { - char *p = args; + char *p; char **argv; size_t n = 0, i, j;