diff options
author | bde <bde@FreeBSD.org> | 1998-08-02 14:57:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-02 14:57:00 +0000 |
commit | 559a9a5f7d40627eaecd0fc3cd60b6d49c3853b9 (patch) | |
tree | 5c7532ffe938c31ce7fb57f752fd5ba10773074d /contrib/gcc/config | |
parent | aaeb261fcc7eacef2d74ca1937e92075a2de6ff2 (diff) | |
download | FreeBSD-src-559a9a5f7d40627eaecd0fc3cd60b6d49c3853b9.zip FreeBSD-src-559a9a5f7d40627eaecd0fc3cd60b6d49c3853b9.tar.gz |
Fixed printf format errors. gcc should have a macro HOST_PTR_PRINTF_TYPE
to go with its HOST_PTR_PRINTF[_FORMAT], since if %p is wrong for the
format then `void *' is probably wrong for the type.
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r-- | contrib/gcc/config/xm-freebsd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/config/xm-freebsd.h b/contrib/gcc/config/xm-freebsd.h index 4facb4b..70df44d 100644 --- a/contrib/gcc/config/xm-freebsd.h +++ b/contrib/gcc/config/xm-freebsd.h @@ -23,10 +23,8 @@ Boston, MA 02111-1307, USA. */ instead $xm_file should be CPU/xm-freebsd.h, which should include both CPU/xm-CPU.h and this file xm-freebsd.h. */ -/* FreeBSD has putenv. */ #define HAVE_PUTENV -/* FreeBSD has strerror. */ #define HAVE_STRERROR /* We have _sys_siglist, but the declaration in <signal.h> conflicts with @@ -34,3 +32,5 @@ Boston, MA 02111-1307, USA. */ in those files. */ #define DONT_DECLARE_SYS_SIGLIST + +#define HOST_PTR_PRINTF "%p" |