This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix warning in c-typeck.c



The appended patch fixes this warning:
/cvs/gcc/gcc/c-typeck.c:742: warning: function declaration isn't a prototype

Bootstrapped/regtested on i686-linux.

Ok to install?

Andreas

============================================================
Index: gcc/c-tree.h
--- gcc/c-tree.h	2001/08/24 12:07:40	1.66
+++ gcc/c-tree.h	2001/08/26 12:45:20
@@ -218,6 +218,7 @@
 /* in c-typeck.c */
 extern tree require_complete_type		PARAMS ((tree));
 extern int comptypes				PARAMS ((tree, tree));
+extern tree c_sizeof_nowarn 			PARAMS ((tree));
 extern tree c_size_in_bytes                     PARAMS ((tree));
 extern tree build_component_ref                 PARAMS ((tree, tree));
 extern tree build_indirect_ref                  PARAMS ((tree, const char *));

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]