forked from Imagelibrary/rtems
2009-10-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/openpic/openpic.c: Make openpic_writefield static inline (Get rid of GCC warning).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-10-03 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/openpic/openpic.c: Make openpic_writefield
|
||||
static inline (Get rid of GCC warning).
|
||||
|
||||
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/console/console.c: Reflect termios_baud_to_number having been
|
||||
|
||||
@@ -122,7 +122,7 @@ static inline unsigned int openpic_readfield(volatile unsigned int *addr, unsign
|
||||
return val & mask;
|
||||
}
|
||||
|
||||
inline void openpic_writefield(volatile unsigned int *addr, unsigned int mask,
|
||||
static inline void openpic_writefield(volatile unsigned int *addr, unsigned int mask,
|
||||
unsigned int field)
|
||||
{
|
||||
unsigned int val = openpic_read(addr);
|
||||
|
||||
Reference in New Issue
Block a user