Changeset 767164a in rtems


Ignore:
Timestamp:
10/12/14 15:06:05 (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
8a442b5
Parents:
0f9dd74
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 15:06:05)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:26)
Message:

gen68302/clock/ckinit.c: Fix warnings

File:
1 edited

Legend:

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

    r0f9dd74 r767164a  
    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)
     
    10998  Install_clock( Clock_isr );
    11099
    111   /*
    112    * make major/minor avail to others such as shared memory driver
    113    */
    114 
    115   rtems_clock_major = major;
    116   rtems_clock_minor = minor;
    117 
    118100  return RTEMS_SUCCESSFUL;
    119101}
Note: See TracChangeset for help on using the changeset viewer.