ansification: remove _VOID

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz
2017-12-03 21:12:33 -06:00
parent fff27f8429
commit 67ee0cac4c
41 changed files with 104 additions and 106 deletions

View File

@ -81,8 +81,8 @@ struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *));
#ifndef __STRICT_ANSI__
char *_EXFUN(strptime, (const char *, const char *, struct tm *));
_VOID _EXFUN(tzset, (_VOID));
_VOID _EXFUN(_tzset_r, (struct _reent *));
void _EXFUN(tzset, (void));
void _EXFUN(_tzset_r, (struct _reent *));
typedef struct __tzrule_struct
{
@ -102,13 +102,13 @@ typedef struct __tzinfo_struct
__tzrule_type __tzrule[2];
} __tzinfo_type;
__tzinfo_type *_EXFUN (__gettzinfo, (_VOID));
__tzinfo_type *_EXFUN (__gettzinfo, (void));
/* getdate functions */
#ifndef _REENT_ONLY
#define getdate_err (*__getdate_err())
int *_EXFUN(__getdate_err,(_VOID));
int *_EXFUN(__getdate_err,(void));
struct tm * _EXFUN(getdate, (const char *));
/* getdate_err is set to one of the following values to indicate the error.

View File

@ -189,7 +189,7 @@ RTEMS_STUB(int, issetugid (void), { return 0; })
RTEMS_STUB(void *, _realloc_r(struct _reent *r, void *p, size_t s), { return 0; })
RTEMS_STUB(void *, _calloc_r(struct _reent *r, size_t s1, size_t s2), { return 0; })
RTEMS_STUB(void *, _malloc_r(struct _reent * r, size_t s), { return 0; })
RTEMS_STUB(_VOID, _free_r(struct _reent *r, void **p), { })
RTEMS_STUB(void, _free_r(struct _reent *r, void **p), { })
/* stubs for functions required by libc/stdlib */
RTEMS_STUB(void, __assert_func(const char *file, int line, const char *failedexpr), { })