change log for rtems (2011-03-10)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Mar 10 15:10:57 UTC 2011


 *sh*:
2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* shared/include/cpuIdent.h: Fixed warnings.

M  1.381  c/src/lib/libcpu/powerpc/ChangeLog
M   1.29  c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h

diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.380 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.381
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.380	Fri Feb 25 07:34:41 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog	Thu Mar 10 09:04:21 2011
@@ -1,3 +1,7 @@
+2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* shared/include/cpuIdent.h: Fixed warnings.
+
 2011-02-25	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* mpc83xx/network/tsec.c: New default MAC configuration.  Set MDIO

diff -u rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.28 rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.29
--- rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.28	Fri Jan 28 14:38:13 2011
+++ rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h	Thu Mar 10 09:04:22 2011
@@ -90,14 +90,14 @@
 
 typedef unsigned short ppc_cpu_revision_t;
 
-extern ppc_cpu_id_t get_ppc_cpu_type ();
+extern ppc_cpu_id_t get_ppc_cpu_type (void);
 extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
-extern ppc_cpu_revision_t get_ppc_cpu_revision ();
+extern ppc_cpu_revision_t get_ppc_cpu_revision (void);
 extern ppc_cpu_revision_t current_ppc_revision;
 
 /* PUBLIC ACCESS ROUTINES */
 #define _PPC_FEAT_DECL(x) \
-static inline unsigned ppc_cpu_##x() { \
+static inline unsigned ppc_cpu_##x(void) { \
   if ( PPC_UNKNOWN == current_ppc_cpu ) \
     get_ppc_cpu_type(); \
   return current_ppc_features.x; \
@@ -119,21 +119,21 @@
 	return current_ppc_cpu;
 }
 
-static inline bool ppc_cpu_is_e200()
+static inline bool ppc_cpu_is_e200(void)
 {
 	return ppc_cpu_current() == PPC_e200z0
 		|| ppc_cpu_current() == PPC_e200z1
 		|| ppc_cpu_current() == PPC_e200z6;
 }
 
-static inline bool ppc_cpu_is_e300()
+static inline bool ppc_cpu_is_e300(void)
 {
 	return ppc_cpu_current() == PPC_e300c1
 		|| ppc_cpu_current() == PPC_e300c2
 		|| ppc_cpu_current() == PPC_e300c3;
 }
 
-static inline bool ppc_cpu_is_e500()
+static inline bool ppc_cpu_is_e500(void)
 {
 	return ppc_cpu_current() == PPC_8540
 		|| ppc_cpu_current() == PPC_e500v2;



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110310/c9cfc748/attachment-0001.html>


More information about the vc mailing list