From 8c0dc19cc688bd10f83a92fab2c9cdaf4b6154ec Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 10 Apr 1995 09:00:08 +0000 Subject: Sun Apr 9 01:24:33 1995 Roland McGrath * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs). * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy. * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining. * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these #ifdef emacs, but only #ifndef memmove. * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to safe_bcopy. (memmove): Define only if undefined. * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined. (_itoa): Use it in defn. --- stdio/_itoa.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'stdio') diff --git a/stdio/_itoa.h b/stdio/_itoa.h index 791ce6c87f..81240507b1 100644 --- a/stdio/_itoa.h +++ b/stdio/_itoa.h @@ -1,5 +1,5 @@ /* Internal function for converting integers to ASCII. -Copyright (C) 1994 Free Software Foundation, Inc. +Copyright (C) 1994, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,8 +31,12 @@ extern const char _itoa_lower_digits[], _itoa_upper_digits[]; extern char *_itoa __P ((unsigned long long int value, char *buflim, unsigned int base, int upper_case)); -#if defined (__GNUC__) && defined (__OPTIMIZE__) -extern __inline char * +#ifndef _EXTERN_INLINE +#define _EXTERN_INLINE extern __inline +#endif + +_EXTERN_INLINE +char * _itoa (unsigned long long int value, char *buflim, unsigned int base, int upper_case) { @@ -49,6 +53,6 @@ _itoa (unsigned long long int value, char *buflim, return bp; } -#endif + #endif /* itoa.h */ -- cgit 1.4.1