public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/fold-GCC_VERSION-for-old)] Remove non-ANSI C path in ansidecl.h.
@ 2022-05-04 13:40 Martin Liska
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Liska @ 2022-05-04 13:40 UTC (permalink / raw)
  To: gcc-cvs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/users/marxin/heads/fold-GCC_VERSION-for-old)] Remove non-ANSI C path in ansidecl.h.
@ 2022-05-05 12:17 Martin Liska
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Liska @ 2022-05-05 12:17 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:79b7dd219b6b0e2b8c9890ae03aab2d299ab9829

commit 79b7dd219b6b0e2b8c9890ae03aab2d299ab9829
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-05 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 13:40 [gcc(refs/users/marxin/heads/fold-GCC_VERSION-for-old)] Remove non-ANSI C path in ansidecl.h Martin Liska
2022-05-05 12:17 Martin Liska

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