Changeset cb64b862 in rtems


Ignore:
Timestamp:
Feb 11, 2015, 11:35:53 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
05a45c7
Parents:
c39de3c4
git-author:
Daniel Hellstrom <daniel@…> (02/11/15 11:35:53)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:24)
Message:

GRGPIO: fix buld warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/gpio/grgpio.c

    rc39de3c4 rcb64b862  
    145145
    146146/* Find port from handle, returns -1 if not found */
    147 int grgpio_find_port(void *handle, struct grgpio_priv **priv)
     147static int grgpio_find_port(void *handle, struct grgpio_priv **priv)
    148148{
    149149        unsigned char portnr;
     
    158158}
    159159
    160 int grgpio_gpiolib_open(void *handle)
     160static int grgpio_gpiolib_open(void *handle)
    161161{
    162162        struct grgpio_priv *priv;
     
    175175}
    176176
    177 int grgpio_grpiolib_config(void *handle, struct gpiolib_config *cfg)
     177static int grgpio_grpiolib_config(void *handle, struct gpiolib_config *cfg)
    178178{
    179179        struct grgpio_priv *priv;
     
    208208}
    209209
    210 int grgpio_grpiolib_get(void *handle, int *inval)
     210static int grgpio_grpiolib_get(void *handle, int *inval)
    211211{
    212212        struct grgpio_priv *priv;
     
    226226}
    227227
    228 int grgpio_grpiolib_irq_opts(void *handle, unsigned int options)
     228static int grgpio_grpiolib_irq_opts(void *handle, unsigned int options)
    229229{
    230230        struct grgpio_priv *priv;
     
    279279}
    280280
    281 int grgpio_grpiolib_irq_register(void *handle, void *func, void *arg)
     281static int grgpio_grpiolib_irq_register(void *handle, void *func, void *arg)
    282282{
    283283        struct grgpio_priv *priv;
     
    298298}
    299299
    300 int grgpio_grpiolib_set(void *handle, int dir, int outval)
     300static int grgpio_grpiolib_set(void *handle, int dir, int outval)
    301301{
    302302        struct grgpio_priv *priv;
     
    319319}
    320320
    321 int grgpio_gpiolib_show(void *handle)
     321static int grgpio_gpiolib_show(void *handle)
    322322{
    323323        struct grgpio_priv *priv;
     
    338338}
    339339
    340 int grgpio_gpiolib_get_info(void *handle, struct gpiolib_info *pinfo)
     340static int grgpio_gpiolib_get_info(void *handle, struct gpiolib_info *pinfo)
    341341{
    342342        struct grgpio_priv *priv;
Note: See TracChangeset for help on using the changeset viewer.