projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
839eadb
)
altos/avr: Avoid warning about unused args in stdio_put and stdio_get
author
Keith Packard
<keithp@keithp.com>
Tue, 10 Jan 2017 22:43:07 +0000
(14:43 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 20 Feb 2017 20:34:01 +0000
(12:34 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/avr/ao_avr_stdio.c
patch
|
blob
|
history
diff --git
a/src/avr/ao_avr_stdio.c
b/src/avr/ao_avr_stdio.c
index cca2a9718313170b1b823a51c22a37216b5fd06c..fde3c42194470194faf3f7ed9edf5b2dd5101752 100644
(file)
--- a/
src/avr/ao_avr_stdio.c
+++ b/
src/avr/ao_avr_stdio.c
@@
-21,6
+21,7
@@
int
stdio_put(char c, FILE *stream)
{
int
stdio_put(char c, FILE *stream)
{
+ (void) stream;
putchar(c);
return 0;
}
putchar(c);
return 0;
}
@@
-28,6
+29,7
@@
stdio_put(char c, FILE *stream)
int
stdio_get(FILE *stream)
{
int
stdio_get(FILE *stream)
{
+ (void) stream;
return (int) getchar() & 0xff;
}
return (int) getchar() & 0xff;
}