Skip to content

Commit

Permalink
Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Browse files Browse the repository at this point in the history
	* 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.
  • Loading branch information
Roland McGrath committed Apr 10, 1995
1 parent 6aa8372 commit 8c0dc19
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
15 changes: 15 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* 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.

Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
Expand All @@ -21,6 +34,8 @@ Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
#ifdef emacs.
* malloc/realloc.c: Likewise.

* stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
(_itoa): Use it in defn.
* stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
"_itoa.h".
(_itoa): Function removed.
Expand Down
2 changes: 1 addition & 1 deletion Makerules
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ include $(patsubst %,$(..)extra-lib.mk,$(extra-libs))
endif

+depfiles := $(strip $(sources:.c=.d) \
$(patsubst %.o,%.d,$(filter %.o,$(extra-objs))) \
$(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.so=.o))) \
$(addsuffix .d,$(others) $(tests)))
+depfiles := $(addprefix $(objpfx),\
$(filter-out $(addsuffix .d,$(omit-deps)),\
Expand Down
12 changes: 8 additions & 4 deletions stdio/_itoa.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
{
Expand All @@ -49,6 +53,6 @@ _itoa (unsigned long long int value, char *buflim,

return bp;
}
#endif


#endif /* itoa.h */

0 comments on commit 8c0dc19

Please sign in to comment.