Changeset 1b502424 in rtems


Ignore:
Timestamp:
Aug 16, 2008, 5:46:28 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
93c6350
Parents:
41ba6c4e
Message:

Add missing prototypes.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i386/cache.c

    r41ba6c4e r1b502424  
    99#include "cache_.h"
    1010
    11 void _CPU_disable_cache() {
     11void _CPU_disable_cache(void) {
    1212  cr0 regCr0;
    1313
     
    2323 */
    2424
    25 void _CPU_enable_cache() {
     25void _CPU_enable_cache(void) {
    2626  cr0 regCr0;
    2727
  • c/src/lib/libcpu/i386/displayCpu.c

    r41ba6c4e r1b502424  
    173173}
    174174
    175 void printCpuInfo()
     175void printCpuInfo(void)
    176176{
    177177  int i;
  • c/src/lib/libcpu/i386/page.c

    r41ba6c4e r1b502424  
    4343 * Disable the paging
    4444 */
    45 void _CPU_disable_paging() {
     45void _CPU_disable_paging(void) {
    4646  cr0 regCr0;
    4747
     
    5555 * Enable the paging
    5656 */
    57 void _CPU_enable_paging() {
     57void _CPU_enable_paging(void) {
    5858  cr0 regCr0;
    5959
     
    6969 */
    7070
    71 int init_paging() {
     71int init_paging(void) {
    7272
    7373  int memorySize;
  • cpukit/score/cpu/i386/rtems/score/cpu.h

    r41ba6c4e r1b502424  
    147147typedef void (*cpuExcHandlerType) (CPU_Exception_frame*);
    148148extern cpuExcHandlerType _currentExcHandler;
    149 extern void rtems_exception_init_mngt();
     149extern void rtems_exception_init_mngt(void);
    150150
    151151/*
  • cpukit/score/cpu/i386/rtems/score/i386.h

    r41ba6c4e r1b502424  
    150150 */
    151151
    152 static inline unsigned int i386_get_cr0()
     152static inline unsigned int i386_get_cr0(void)
    153153{
    154154  register unsigned int segment = 0;
     
    164164}
    165165
    166 static inline unsigned int i386_get_cr2()
     166static inline unsigned int i386_get_cr2(void)
    167167{
    168168  register unsigned int segment = 0;
     
    173173}
    174174
    175 static inline unsigned int i386_get_cr3()
     175static inline unsigned int i386_get_cr3(void)
    176176{
    177177  register unsigned int segment = 0;
Note: See TracChangeset for help on using the changeset viewer.