From: Andre Noll Date: Sat, 3 Jan 2015 17:51:03 +0000 (+0000) Subject: Assorted typo fixes in comments. X-Git-Tag: v1.0.0~7 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=560d397a66ba141f18e13557feae78ca94a25f98;p=adu.git Assorted typo fixes in comments. --- diff --git a/gcc-compat.h b/gcc-compat.h index 37a486b..2ead2e7 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -20,7 +20,7 @@ * If not all the functions (handlers) use all arguments, gcc will print * a warning. * - * Marking those few unused function parameters with \p __a_unused to supress + * Marking those few unused function parameters with \p __a_unused to suppress * the gcc warnings allows us to get a clean build _and_ the benefit of the * warning in other cases where we do care about unused parameters. */ diff --git a/string.c b/string.c index f052400..fb23d93 100644 --- a/string.c +++ b/string.c @@ -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. diff --git a/user.c b/user.c index 29dd58b..a1513a4 100644 --- a/user.c +++ b/user.c @@ -44,7 +44,7 @@ enum uid_info_flags { * * Even users that are not taken into account because of the --uid * option occupy a slot in this hash table. This allows to find out - * quicky whether a uid is admissible. And yes, this has to be fast. + * quickly whether a uid is admissible. And yes, this has to be fast. */ static struct user_info *uid_hash_table; @@ -466,7 +466,7 @@ static char *get_uid_list_name(void) * \a admissible_uids. If so, it sets the admissible bit for this slot and * opens the osl table of the uid. * - * \return Stamdard. + * \return Standard. */ int open_admissible_user_tables(struct uid_range *admissible_uids) {