merge from gcc

This commit is contained in:
DJ Delorie 2005-07-09 13:05:49 +00:00
parent c94c2c4ee4
commit 460565cb9d
4 changed files with 10 additions and 6 deletions

View File

@ -1,9 +1,3 @@
2005-07-09 Ben Elliston <bje@au.ibm.com>
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
* memmove.c: Likewise.
* objalloc.c: Likewise.
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
* config.table: Delete file. Move former contents into ...

View File

@ -13,7 +13,11 @@ Copies @var{length} bytes from memory region @var{in} to region
*/
#include <ansidecl.h>
#ifdef ANSI_PROTOTYPES
#include <stddef.h>
#else
#define size_t unsigned long
#endif
void bcopy (const void*, void*, size_t);

View File

@ -13,7 +13,11 @@ Copies @var{count} bytes from memory area @var{from} to memory area
*/
#include <ansidecl.h>
#ifdef ANSI_PROTOTYPES
#include <stddef.h>
#else
#define size_t unsigned long
#endif
void bcopy (const void*, void*, size_t);

View File

@ -30,8 +30,10 @@ Boston, MA 02110-1301, USA. */
#include <unixlib.h>
#else
#ifdef ANSI_PROTOTYPES
/* Get a definition for size_t. */
#include <stddef.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>