This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Sync longlong.h with glibc
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Oct 2002 22:41:41 +0200
- Subject: [PATCH] Sync longlong.h with glibc
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
glibc doesn't define PARAMS and thus cannot use it in longlong.h.
gcc doesn't need that either, since longlong.h is used only by libgcc
which is compiled by gcc (and without -Wtraditional).
Preapproved by Richard, commited to mainline.
2002-10-03 Jakub Jelinek <jakub@redhat.com>
* longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
--- gcc/longlong.h.jj 2002-09-30 23:44:47.000000000 +0200
+++ gcc/longlong.h 2002-10-03 22:43:53.000000000 +0200
@@ -124,7 +124,7 @@
(q) = __udiv_qrnnd (&__r, (n1), (n0), (d)); \
(r) = __r; \
} while (0)
-extern UDItype __udiv_qrnnd PARAMS ((UDItype *, UDItype, UDItype, UDItype));
+extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype);
#define UDIV_TIME 220
#endif /* LONGLONG_STANDALONE */
#ifdef __alpha_cix__
Jakub