public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/marxin/heads/fold-GCC_VERSION-for-old)] Remove non-ANSI C path in ansidecl.h.
Date: Wed,  4 May 2022 13:40:57 +0000 (GMT)	[thread overview]
Message-ID: <20220504134057.8179E3857346@sourceware.org> (raw)

https://gcc.gnu.org/g:4e1314f594de82b263d66198dfb38e9838c155a8

commit 4e1314f594de82b263d66198dfb38e9838c155a8
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Feb 1 13:10:19 2022 +0100

    Remove non-ANSI C path in ansidecl.h.
    
    include/ChangeLog:
    
            * ansidecl.h (PTR): Remove Not ANCI C part.

Diff:
---
 include/ansidecl.h | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/include/ansidecl.h b/include/ansidecl.h
index 4275c9b9cbd..f42c6afc7e9 100644
--- a/include/ansidecl.h
+++ b/include/ansidecl.h
@@ -89,21 +89,7 @@ So instead we use the macro below and test it against specific values.  */
 # endif
 #endif
 
-#else	/* Not ANSI C.  */
-
-#define PTR		char *
-
-/* some systems define these in header files for non-ansi mode */
-#undef const
-#undef volatile
-#undef signed
-#undef inline
-#define const
-#define volatile
-#define signed
-#define inline
-
-#endif	/* ANSI C.  */
+#endif
 
 /* Define macros for some gcc attributes.  This permits us to use the
    macros freely, and know that they will come into play for the


             reply	other threads:[~2022-05-04 13:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 13:40 Martin Liska [this message]
2022-05-05 12:17 Martin Liska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220504134057.8179E3857346@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).