Changeset b3f86763 in rtems


Ignore:
Timestamp:
Oct 12, 2014, 3:06:05 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
cd1b0404
Parents:
6d44a3e
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 15:06:05)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:27)
Message:

ods68302/clock/ckinit.c: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/ods68302/clock/ckinit.c

    r6d44a3e rb3f86763  
    1 /*  Clock_init()
    2  *
     1/*
    32 *  This routine initializes Timer 1 for an MC68302.
    43 *  The tick frequency is 1 millisecond.
    5  *
    6  *  Input parameters:  NONE
    7  *
    8  *  Output parameters:  NONE
    9  *
    10  *  COPYRIGHT (c) 1989-1999.
     4 */
     5
     6/*
     7 *  COPYRIGHT (c) 1989-2014.
    118 *  On-Line Applications Research Corporation (OAR).
    129 *
     
    4946
    5047/*
    51  * These are set by clock driver during its init
    52  */
    53 
    54 rtems_device_major_number rtems_clock_major = ~0;
    55 rtems_device_minor_number rtems_clock_minor;
    56 
    57 /*
    5848 *  ISR Handler
    5949 */
    60 
    61 rtems_isr Clock_isr(
     50static rtems_isr Clock_isr(
    6251  rtems_vector_number vector
    6352)
     
    7665}
    7766
    78 void Install_clock(
     67static void Install_clock(
    7968  rtems_isr_entry clock_isr
    8069)
     
    11099  Install_clock( Clock_isr );
    111100
    112   /*
    113    * make major/minor avail to others such as shared memory driver
    114    */
    115 
    116   rtems_clock_major = major;
    117   rtems_clock_minor = minor;
    118 
    119101  return RTEMS_SUCCESSFUL;
    120102}
Note: See TracChangeset for help on using the changeset viewer.