summaryrefslogtreecommitdiff
path: root/lib/xmalloc.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-22 15:07:36 +0000
committerJim Meyering <jim@meyering.net>2003-11-22 15:07:36 +0000
commit9e03434d6fa01da0f148115459893c2fb8d21ae7 (patch)
tree0a9da206ce9efd13f63d0c078caf6b986c64d9ee /lib/xmalloc.c
parent3e597a4c6b1ff5c34066c9d92dc28157584d8e56 (diff)
downloadgnulib-9e03434d6fa01da0f148115459893c2fb8d21ae7.tar.gz
(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.
Diffstat (limited to 'lib/xmalloc.c')
-rw-r--r--lib/xmalloc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index 20d85d83aa..181006b43d 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -136,8 +136,8 @@ xrealloc (void *p, size_t n)
Here is an example of use:
int *p = NULL;
- size used = 0;
- size allocated = 0;
+ size_t used = 0;
+ size_t allocated = 0;
void
append_int (int value)
@@ -155,9 +155,9 @@ xrealloc (void *p, size_t n)
example:
int *p = NULL;
- size used = 0;
- size allocated = 0;
- size allocated1 = 1000;
+ size_t used = 0;
+ size_t allocated = 0;
+ size_t allocated1 = 1000;
void
append_int (int value)