diff host/tools/Utils/common/eCosStd.h @ 3281:f9b94a5b13ac

* infra/trace.cxx, libcdl/build.cxx, libcdl/expr.cxx, tools/Utils/common/eCosStd.h, tools/ecostest/common/eCosTest.cpp, tools/configtool/standalone/wxwin/admindlg.cpp, tools/configtool/standalone/wxwin/configtooldoc.cpp, tools/configtool/standalone/wxwin/configtree.cpp: Silence "set but unused" variable warnings with recent GCC. [ Bugzilla 1001949 ] * standalone/common/ecosconfig.cxx: Update copyright string.
author jld
date Thu, 13 Mar 2014 15:03:41 +0000
parents 74dbf4c3f2e1
children
line wrap: on
line diff
--- a/host/tools/Utils/common/eCosStd.h
+++ b/host/tools/Utils/common/eCosStd.h
@@ -1,7 +1,7 @@
 // ####ECOSHOSTGPLCOPYRIGHTBEGIN####                                        
 // -------------------------------------------                              
 // This file is part of the eCos host tools.                                
-// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.            
+// Copyright (C) 1998, 1999, 2000, 2014 Free Software Foundation, Inc.            
 //
 // This program is free software; you can redistribute it and/or modify     
 // it under the terms of the GNU General Public License as published by     
@@ -138,6 +138,9 @@ extern Time Now();
 extern int MIN(int a, int b);
 extern int MAX(int a, int b);
 
+// Get the CYG_UNUSED_PARAM() macro.
+#include <cyg/infra/cyg_type.h>
+
 #include <string.h>
 
 #include <time.h>