diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-07 14:29:08 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-07 14:29:08 +0200 |
commit | 2e9b24211a523c754b9437d6b742d6df304d8aeb (patch) | |
tree | 8df91a3bdd2a704006dcb2ed97c49c6e4f36158c /lib | |
parent | e403aa89e50471eb6f2838117887b1207627ae3a (diff) | |
download | bird-2e9b24211a523c754b9437d6b742d6df304d8aeb.tar bird-2e9b24211a523c754b9437d6b742d6df304d8aeb.zip |
Spelling fixes to progdoc.
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 2ffc177..33cb386 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 369d420..bc386c8 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) |