diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/checksum.c | 2 | ||||
-rw-r--r-- | lib/ip.c | 6 | ||||
-rw-r--r-- | lib/xmalloc.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/checksum.c b/lib/checksum.c index 2ffc1770..33cb3865 100644 --- a/lib/checksum.c +++ b/lib/checksum.c @@ -118,7 +118,7 @@ ipsum_verify(void *frag, unsigned len, ...) * @frag: first packet fragment * @len: length in bytes * - * This function caculates a one's complement checksum of a given fragmented + * This function calculates a one's complement checksum of a given fragmented * packet. * * It uses all the clever tricks described in RFC 1071 to speed @@ -19,7 +19,7 @@ */ /** - * ip_scope_text - get texual representation of address scope + * ip_scope_text - get textual representation of address scope * @scope: scope (%SCOPE_xxx) * * Returns a pointer to a textual name of the scope given. @@ -145,7 +145,7 @@ void ipa_ntoh(ip_addr x) { DUMMY } * * ipa_classify() returns an address class of @x, that is a bitwise or * of address type (%IADDR_INVALID, %IADDR_HOST, %IADDR_BROADCAST, %IADDR_MULTICAST) - * with adress scope (%SCOPE_HOST to %SCOPE_UNIVERSE) or -1 (%IADDR_INVALID) + * with address scope (%SCOPE_HOST to %SCOPE_UNIVERSE) or -1 (%IADDR_INVALID) * for an invalid address. */ int ipa_classify(ip_addr x) { DUMMY } @@ -254,7 +254,7 @@ char *ip_ntox(ip_addr a, char *buf) { DUMMY } * * This function parses a textual IP address representation and * stores the decoded address to a variable pointed to by @o. - * Returns 0 if a parse error has occured, else 0. + * Returns 0 if a parse error has occurred, else 0. */ int ip_pton(char *a, ip_addr *o) { DUMMY } diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 369d4201..bc386c83 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -21,7 +21,7 @@ * failure it calls die() to quit the program instead of returning * a %NULL pointer. * - * Whereever possible, please use the memory resources instead. + * Wherever possible, please use the memory resources instead. */ void * xmalloc(unsigned size) |