Changeset 73406bf in rtems


Ignore:
Timestamp:
Mar 10, 2011, 3:04:22 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
627b70e
Parents:
6c16501
Message:

2011-03-10 Sebastian Huber <sebastian.huber@…>

  • shared/include/cpuIdent.h: Fixed warnings.
Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    r6c16501 r73406bf  
     12011-03-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * shared/include/cpuIdent.h: Fixed warnings.
     4
    152011-02-25      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h

    r6c16501 r73406bf  
    9191typedef unsigned short ppc_cpu_revision_t;
    9292
    93 extern ppc_cpu_id_t get_ppc_cpu_type ();
     93extern ppc_cpu_id_t get_ppc_cpu_type (void);
    9494extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
    95 extern ppc_cpu_revision_t get_ppc_cpu_revision ();
     95extern ppc_cpu_revision_t get_ppc_cpu_revision (void);
    9696extern ppc_cpu_revision_t current_ppc_revision;
    9797
    9898/* PUBLIC ACCESS ROUTINES */
    9999#define _PPC_FEAT_DECL(x) \
    100 static inline unsigned ppc_cpu_##x() { \
     100static inline unsigned ppc_cpu_##x(void) { \
    101101  if ( PPC_UNKNOWN == current_ppc_cpu ) \
    102102    get_ppc_cpu_type(); \
     
    120120}
    121121
    122 static inline bool ppc_cpu_is_e200()
     122static inline bool ppc_cpu_is_e200(void)
    123123{
    124124        return ppc_cpu_current() == PPC_e200z0
     
    127127}
    128128
    129 static inline bool ppc_cpu_is_e300()
     129static inline bool ppc_cpu_is_e300(void)
    130130{
    131131        return ppc_cpu_current() == PPC_e300c1
     
    134134}
    135135
    136 static inline bool ppc_cpu_is_e500()
     136static inline bool ppc_cpu_is_e500(void)
    137137{
    138138        return ppc_cpu_current() == PPC_8540
Note: See TracChangeset for help on using the changeset viewer.