diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-01 00:08:03 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-01 00:08:03 +0300 |
commit | 1dc1ccd4aef6165bcdb88240dc422aa67c9ef930 (patch) | |
tree | 0018d02d62e8aeba2b87d77d346ea8cc15aa6ab5 /newlib/libc/stdlib | |
parent | d456d606e35a460db59c6609f8c994e658fe3d7c (diff) |
2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/diprintf.c: Modify documentation so eclipse newlib
libhover docs generate properly.
* libc/stdio/dprintf.c: Ditto.
* libc/stdio/fflush.c: Ditto.
* libc/stdio/fopencookie.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/fsetpos.c: Ditto.
* libc/stdio/getc_u.c: Ditto.
* libc/stdio/getchar_u.c: Ditto.
* libc/stdio/putc_u.c: Ditto.
* libc/stdio/putchar_u.c: Ditto.
* libc/stdio/remove.c: Ditto.
* libc/stdio/siprintf.c: Ditto.
* libc/stdio/siscanf.c: Ditto.
* libc/stdio/sprintf.c: Ditto.
* libc/stdio/sscanf.c: Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/viprintf.c: Ditto.
* libc/stdio/viscanf.c: Ditto.
* libc/stdlib/calloc.c: Ditto.
* libc/stdlib/efgcvt.c: Ditto.
* libc/stdlib/envlock.c: Ditto.
* libc/time/asctime.c: Ditto.
* libc/time/ctime.c: Ditto.
* libc/time/gmtime.c: Ditto.
* libc/time/lcltime.c: Ditto.
* libc/time/tzset.c: Ditto.
* libc/stdlib/envlock.h: Moved to libc/include.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/calloc.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/efgcvt.c | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/envlock.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/envlock.h | 15 |
4 files changed, 6 insertions, 17 deletions
diff --git a/newlib/libc/stdlib/calloc.c b/newlib/libc/stdlib/calloc.c index af9a4adc1..4415c6591 100644 --- a/newlib/libc/stdlib/calloc.c +++ b/newlib/libc/stdlib/calloc.c @@ -14,7 +14,7 @@ INDEX ANSI_SYNOPSIS #include <stdlib.h> void *calloc(size_t <[n]>, size_t <[s]>); - void *calloc_r(void *<[reent]>, size_t <n>, <size_t> <[s]>); + void *_calloc_r(void *<[reent]>, size_t <[n]>, size_t <[s]>); TRAD_SYNOPSIS #include <stdlib.h> diff --git a/newlib/libc/stdlib/efgcvt.c b/newlib/libc/stdlib/efgcvt.c index 9aa3b2fe7..ba0250490 100644 --- a/newlib/libc/stdlib/efgcvt.c +++ b/newlib/libc/stdlib/efgcvt.c @@ -5,7 +5,11 @@ FUNCTION INDEX ecvt INDEX + ecvtf +INDEX fcvt +INDEX + fcvtf ANSI_SYNOPSIS #include <stdlib.h> diff --git a/newlib/libc/stdlib/envlock.c b/newlib/libc/stdlib/envlock.c index 74c85a8f5..ce7ae2e26 100644 --- a/newlib/libc/stdlib/envlock.c +++ b/newlib/libc/stdlib/envlock.c @@ -8,7 +8,7 @@ INDEX __env_unlock ANSI_SYNOPSIS - #include "envlock.h" + #include <envlock.h> void __env_lock (struct _reent *<[reent]>); void __env_unlock (struct _reent *<[reent]>); diff --git a/newlib/libc/stdlib/envlock.h b/newlib/libc/stdlib/envlock.h deleted file mode 100644 index 9bb6a813e..000000000 --- a/newlib/libc/stdlib/envlock.h +++ /dev/null @@ -1,15 +0,0 @@ -/* envlock.h -- header file for env routines. */ - -#ifndef _INCLUDE_ENVLOCK_H_ -#define _INCLUDE_ENVLOCK_H_ - -#include <_ansi.h> -#include <sys/reent.h> - -#define ENV_LOCK __env_lock(reent_ptr) -#define ENV_UNLOCK __env_unlock(reent_ptr) - -void _EXFUN(__env_lock,(struct _reent *reent)); -void _EXFUN(__env_unlock,(struct _reent *reent)); - -#endif /* _INCLUDE_ENVLOCK_H_ */ |