mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
* chardefs.h, tilde.c: Just declare strrchr rather than trying to
include a system header.
This commit is contained in:
parent
d575ddc0ef
commit
67289b625e
@ -1,3 +1,8 @@
|
||||
Fri Jan 21 17:31:26 1994 Jim Kingdon (kingdon@lisa.cygnus.com)
|
||||
|
||||
* chardefs.h, tilde.c: Just declare strrchr rather than trying to
|
||||
include a system header.
|
||||
|
||||
Fri Jan 21 14:40:43 1994 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* Makefile.in (distclean, realclean): Expand local-distclean
|
||||
|
@ -4,11 +4,19 @@
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#if 0
|
||||
/* Getting the correct definition of HAVE_STRING_H is harder than just
|
||||
declaring them ourselves. CYGNUS LOCAL. */
|
||||
#if defined (HAVE_STRING_H)
|
||||
# include <string.h>
|
||||
#else
|
||||
# include <strings.h>
|
||||
#endif /* HAVE_STRING_H */
|
||||
#else /* not 0 */
|
||||
/* We don't worry about declaring functions where we don't use the return
|
||||
value (e.g. strcpy) or which return int. */
|
||||
extern char *strrchr ();
|
||||
#endif /* not 0 */
|
||||
|
||||
#ifndef savestring
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user