Changeset bf6fe958 in rtems


Ignore:
Timestamp:
Feb 4, 2015, 3:22:59 PM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
aedc9849
Parents:
0fcd4b33
git-author:
Daniel Hellstrom <daniel@…> (02/04/15 15:22:59)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:21)
Message:

GPTIMER: avoid build warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/timer/gptimer.c

    r0fcd4b33 rbf6fe958  
    118118
    119119/* Driver prototypes */
    120 struct tlib_drv gptimer_tlib_drv;
     120static struct tlib_drv gptimer_tlib_drv;
    121121int gptimer_device_init(struct gptimer_priv *priv);
    122122
     
    425425}
    426426
    427 void gptimer_tlib_get_freq(
     427static void gptimer_tlib_get_freq(
    428428        struct tlib_dev *hand,
    429429        unsigned int *basefreq,
     
    440440}
    441441
    442 int gptimer_tlib_set_freq(struct tlib_dev *hand, unsigned int tickrate)
     442static int gptimer_tlib_set_freq(struct tlib_dev *hand, unsigned int tickrate)
    443443{
    444444        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    453453}
    454454
    455 void gptimer_tlib_irq_reg(struct tlib_dev *hand, tlib_isr_t func, void *data)
     455static void gptimer_tlib_irq_reg(struct tlib_dev *hand, tlib_isr_t func, void *data)
    456456{
    457457        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    466466}
    467467
    468 void gptimer_tlib_irq_unreg(struct tlib_dev *hand, tlib_isr_t func, void *data)
     468static void gptimer_tlib_irq_unreg(struct tlib_dev *hand, tlib_isr_t func, void *data)
    469469{
    470470        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    482482}
    483483
    484 void gptimer_tlib_start(struct tlib_dev *hand, int once)
     484static void gptimer_tlib_start(struct tlib_dev *hand, int once)
    485485{
    486486        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    494494}
    495495
    496 void gptimer_tlib_stop(struct tlib_dev *hand)
     496static void gptimer_tlib_stop(struct tlib_dev *hand)
    497497{
    498498        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    502502}
    503503
    504 void gptimer_tlib_restart(struct tlib_dev *hand)
     504static void gptimer_tlib_restart(struct tlib_dev *hand)
    505505{
    506506        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    509509}
    510510
    511 void gptimer_tlib_get_counter(struct tlib_dev *hand, unsigned int *counter)
     511static void gptimer_tlib_get_counter(struct tlib_dev *hand, unsigned int *counter)
    512512{
    513513        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    516516}
    517517
    518 struct tlib_drv gptimer_tlib_drv =
     518static struct tlib_drv gptimer_tlib_drv =
    519519{
    520520        .reset = gptimer_tlib_reset,
Note: See TracChangeset for help on using the changeset viewer.