diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
commit | 1f020b178664857b0e107778d04fb971a58e6230 (patch) | |
tree | c1cd86593b5d354091e0fa3201c5789bec5c53ad /libc/stdlib | |
parent | f1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff) |
- trim any trailing whitespace
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/erand48_r.c | 2 | ||||
-rw-r--r-- | libc/stdlib/getenv.c | 2 | ||||
-rw-r--r-- | libc/stdlib/grantpt.c | 2 | ||||
-rw-r--r-- | libc/stdlib/jrand48_r.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc-simple/calloc.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc-simple/free.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc-simple/malloc.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc-simple/memalign.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc-simple/realloc.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc-standard/malloc.h | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc/heap_alloc.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc/heap_alloc_at.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc/heap_free.c | 2 | ||||
-rw-r--r-- | libc/stdlib/nrand48_r.c | 2 | ||||
-rw-r--r-- | libc/stdlib/ptsname.c | 2 | ||||
-rw-r--r-- | libc/stdlib/random_r.c | 2 | ||||
-rw-r--r-- | libc/stdlib/stdlib.c | 4 | ||||
-rw-r--r-- | libc/stdlib/system.c | 2 |
18 files changed, 19 insertions, 19 deletions
diff --git a/libc/stdlib/erand48_r.c b/libc/stdlib/erand48_r.c index 3dd0dfdf0..42db6f74b 100644 --- a/libc/stdlib/erand48_r.c +++ b/libc/stdlib/erand48_r.c @@ -21,7 +21,7 @@ #include <stdlib.h> #include <limits.h> -extern int __drand48_iterate(unsigned short xsubi[3], +extern int __drand48_iterate(unsigned short xsubi[3], struct drand48_data *buffer) attribute_hidden; libc_hidden_proto(erand48_r) diff --git a/libc/stdlib/getenv.c b/libc/stdlib/getenv.c index 230ec0051..7b3df7e64 100644 --- a/libc/stdlib/getenv.c +++ b/libc/stdlib/getenv.c @@ -12,7 +12,7 @@ libc_hidden_proto(getenv) /* Experimentally off - libc_hidden_proto(memcmp) */ /* Experimentally off - libc_hidden_proto(strlen) */ -/* IEEE Std 1003.1-2001 says getenv need not be thread safe, so +/* IEEE Std 1003.1-2001 says getenv need not be thread safe, so * don't bother locking access to __environ */ char *getenv(const char *var) { diff --git a/libc/stdlib/grantpt.c b/libc/stdlib/grantpt.c index 2c59cd678..b60ffe7dc 100644 --- a/libc/stdlib/grantpt.c +++ b/libc/stdlib/grantpt.c @@ -58,7 +58,7 @@ grantpt (attribute_unused int fd) if (pts_name (fd, &buf, sizeof (_buf))) return -1; - + if (statfs (buf, &fsbuf) < 0) return -1; diff --git a/libc/stdlib/jrand48_r.c b/libc/stdlib/jrand48_r.c index 912f70c4f..fe77c3c38 100644 --- a/libc/stdlib/jrand48_r.c +++ b/libc/stdlib/jrand48_r.c @@ -19,7 +19,7 @@ #include <stdlib.h> -extern int __drand48_iterate(unsigned short xsubi[3], +extern int __drand48_iterate(unsigned short xsubi[3], struct drand48_data *buffer) attribute_hidden; libc_hidden_proto(jrand48_r) diff --git a/libc/stdlib/malloc-simple/calloc.c b/libc/stdlib/malloc-simple/calloc.c index 75edff86d..b40489644 100644 --- a/libc/stdlib/malloc-simple/calloc.c +++ b/libc/stdlib/malloc-simple/calloc.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. diff --git a/libc/stdlib/malloc-simple/free.c b/libc/stdlib/malloc-simple/free.c index 553a6bfc8..3fc7a969e 100644 --- a/libc/stdlib/malloc-simple/free.c +++ b/libc/stdlib/malloc-simple/free.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. diff --git a/libc/stdlib/malloc-simple/malloc.c b/libc/stdlib/malloc-simple/malloc.c index 61f33d871..1ad8ca2ff 100644 --- a/libc/stdlib/malloc-simple/malloc.c +++ b/libc/stdlib/malloc-simple/malloc.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. diff --git a/libc/stdlib/malloc-simple/memalign.c b/libc/stdlib/malloc-simple/memalign.c index 24b7ab9c5..d7ee35297 100644 --- a/libc/stdlib/malloc-simple/memalign.c +++ b/libc/stdlib/malloc-simple/memalign.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. diff --git a/libc/stdlib/malloc-simple/realloc.c b/libc/stdlib/malloc-simple/realloc.c index de9675d59..b116ab112 100644 --- a/libc/stdlib/malloc-simple/realloc.c +++ b/libc/stdlib/malloc-simple/realloc.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h index 389f1f7d4..e0f3658b7 100644 --- a/libc/stdlib/malloc-standard/malloc.h +++ b/libc/stdlib/malloc-standard/malloc.h @@ -628,7 +628,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ as a malloc_chunk. This avoids special-casing for headers. But to conserve space and improve locality, we allocate only the fd/bk pointers of bins, and then use repositioning tricks - to treat these as the fields of a malloc_chunk*. + to treat these as the fields of a malloc_chunk*. */ typedef struct malloc_chunk* mbinptr; diff --git a/libc/stdlib/malloc/heap_alloc.c b/libc/stdlib/malloc/heap_alloc.c index f8d596506..9f5fd6c1a 100644 --- a/libc/stdlib/malloc/heap_alloc.c +++ b/libc/stdlib/malloc/heap_alloc.c @@ -27,7 +27,7 @@ __heap_alloc (struct heap *heap, size_t *size) void *mem = 0; _size = HEAP_ADJUST_SIZE (_size); - + if (_size < sizeof (struct heap_free_area)) /* Because we sometimes must use a freed block to hold a free-area node, we must make sure that every allocated block can hold one. */ diff --git a/libc/stdlib/malloc/heap_alloc_at.c b/libc/stdlib/malloc/heap_alloc_at.c index 296c6e552..a65140fea 100644 --- a/libc/stdlib/malloc/heap_alloc_at.c +++ b/libc/stdlib/malloc/heap_alloc_at.c @@ -32,7 +32,7 @@ __heap_alloc_at (struct heap *heap, void *mem, size_t size) for (fa = heap->free_areas; fa; fa = fa->next) { void *fa_mem = HEAP_FREE_AREA_START (fa); - if (fa_mem <= mem) + if (fa_mem <= mem) { if (fa_mem == mem && fa->size >= size) /* FA has the right addr, and is big enough! */ diff --git a/libc/stdlib/malloc/heap_free.c b/libc/stdlib/malloc/heap_free.c index 8bc740dd8..1c4634c55 100644 --- a/libc/stdlib/malloc/heap_free.c +++ b/libc/stdlib/malloc/heap_free.c @@ -72,7 +72,7 @@ __heap_free (struct heap *heap, void *mem, size_t size) /* The new descriptor is at the end of the extended block, SIZE bytes later than the old descriptor. */ fa = (struct heap_free_area *)((char *)fa + size); - /* Update links with the neighbors in the list. */ + /* Update links with the neighbors in the list. */ __heap_link_free_area (heap, fa, prev_fa, next_fa); } } diff --git a/libc/stdlib/nrand48_r.c b/libc/stdlib/nrand48_r.c index f45cb1132..63b0ac8ef 100644 --- a/libc/stdlib/nrand48_r.c +++ b/libc/stdlib/nrand48_r.c @@ -19,7 +19,7 @@ #include <stdlib.h> -extern int __drand48_iterate(unsigned short xsubi[3], +extern int __drand48_iterate(unsigned short xsubi[3], struct drand48_data *buffer) attribute_hidden; libc_hidden_proto(nrand48_r) diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c index 1fd516234..bd9c3cab2 100644 --- a/libc/stdlib/ptsname.c +++ b/libc/stdlib/ptsname.c @@ -55,7 +55,7 @@ libc_hidden_proto(stat) terminal devices. As of Linux 2.1.115 these are no longer supported. They have been replaced by major numbers 2 (masters) and 3 (slaves). */ - + /* The are declared in getpt.c. */ extern const char __libc_ptyname1[] attribute_hidden; extern const char __libc_ptyname2[] attribute_hidden; diff --git a/libc/stdlib/random_r.c b/libc/stdlib/random_r.c index e95653545..ca80a7808 100644 --- a/libc/stdlib/random_r.c +++ b/libc/stdlib/random_r.c @@ -121,7 +121,7 @@ static const struct random_poly_info random_poly_info = - + /* If we are using the trivial TYPE_0 R.N.G., just do the old linear congruential bit. Otherwise, we do our fancy trinomial stuff, which is the same in all the other cases due to all the global variables that have been diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index 5b0d41b3a..15292ceed 100644 --- a/libc/stdlib/stdlib.c +++ b/libc/stdlib/stdlib.c @@ -35,7 +35,7 @@ #define _ISOC99_SOURCE /* for ULLONG primarily... */ #include <limits.h> #include <stdint.h> -/* Work around gcc's refusal to create aliases. +/* Work around gcc's refusal to create aliases. * TODO: Add in a define to disable the aliases? */ #if UINT_MAX == ULONG_MAX @@ -267,7 +267,7 @@ strong_alias(llabs,imaxabs) /**********************************************************************/ #ifdef L_atoi -#if INT_MAX < LONG_MAX +#if INT_MAX < LONG_MAX libc_hidden_proto(strtol) diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 5f85a0819..4d75a4077 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -20,7 +20,7 @@ libc_hidden_proto(vfork) /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */ #include <sys/syscall.h> #ifndef __NR_vfork -# define vfork fork +# define vfork fork libc_hidden_proto(fork) #endif |