Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -53,7 +53,7 @@ typedef struct enum_name_t enum_name_t;
|
||||
* The ENUM and the ENUM_END define a enum_name_t pointer with the name supplied
|
||||
* in "name".
|
||||
*
|
||||
* Resolving of enum names is done using a printf hook. A printf fromat
|
||||
* Resolving of enum names is done using a printf hook. A printf format
|
||||
* character %N is replaced by the enum string. Printf needs two arguments to
|
||||
* resolve a %N, the enum_name_t* (the defined name in ENUM_BEGIN) followed
|
||||
* by the numerical enum value.
|
||||
|
||||
@@ -206,7 +206,7 @@ void utils_deinit();
|
||||
* Block and wait for a set of signals
|
||||
*
|
||||
* We don't replicate the functionality of siginfo_t. If info is not NULL
|
||||
* -1 is returend and errno is set to EINVAL.
|
||||
* -1 is returned and errno is set to EINVAL.
|
||||
*
|
||||
* @param set set of signals to wait for
|
||||
* @param info must be NULL
|
||||
|
||||
@@ -29,7 +29,7 @@ void memxor(uint8_t dst[], const uint8_t src[], size_t n)
|
||||
{
|
||||
dst[i] ^= src[i];
|
||||
}
|
||||
/* try to use words if src shares an aligment with dst */
|
||||
/* try to use words if src shares an alignment with dst */
|
||||
switch (((uintptr_t)&src[i] % sizeof(long)))
|
||||
{
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user