diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-31 15:21:24 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-31 15:21:24 +0000 |
commit | dd7d7e3f138d1835d153c316f3d771e40dc641ba (patch) | |
tree | 7427232d1e9759028490f843152a83a4bbbab7db /libc/misc/gnu/obstack.c | |
parent | 89ed2cccba266f7738ceb445e4d43103c08cbe75 (diff) | |
download | uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.bz2 uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.xz |
Synch with trunk at rev 22997.
Basically trailing whitespaces removal, fix non standard keywords
asm -> __asm__ inline -> __inline__ and some minor changes on trunk.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/misc/gnu/obstack.c')
-rw-r--r-- | libc/misc/gnu/obstack.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c index a2e0de63b..246d164cd 100644 --- a/libc/misc/gnu/obstack.c +++ b/libc/misc/gnu/obstack.c @@ -154,7 +154,7 @@ struct obstack *_obstack; } while (0) # endif - + /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default). Objects start on multiples of ALIGNMENT (0 means use default). CHUNKFUN is the function to use to allocate chunks, @@ -383,7 +383,7 @@ _obstack_allocated_p ( } return lp != 0; } - + /* Free objects in obstack H, including OBJ and everything allocate more recently than OBJ. If OBJ is zero, free everything in H. */ @@ -457,7 +457,7 @@ obstack_free ( /* obj is not in any of the chunks! */ abort (); } - + int _obstack_memory_used ( struct obstack *h) @@ -471,7 +471,7 @@ _obstack_memory_used ( } return nbytes; } - + /* Define the error handler. */ # ifndef _ /* # if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC */ @@ -506,7 +506,7 @@ print_and_abort (void) fprintf (stderr, "%s\n", _("memory exhausted")); exit (obstack_exit_failure); } - + # if 0 /* These are now turned off because the applications do not use it and it uses bcopy via obstack_grow, which causes trouble on sysV. */ |