altos/avr: Avoid warning about unused args in stdio_put and stdio_get
authorKeith Packard <keithp@keithp.com>
Tue, 10 Jan 2017 22:43:07 +0000 (14:43 -0800)
committerKeith 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

index cca2a9718313170b1b823a51c22a37216b5fd06c..fde3c42194470194faf3f7ed9edf5b2dd5101752 100644 (file)
@@ -21,6 +21,7 @@
 int
 stdio_put(char c, FILE *stream)
 {
+       (void) stream;
        putchar(c);
        return 0;
 }
@@ -28,6 +29,7 @@ stdio_put(char c, FILE *stream)
 int
 stdio_get(FILE *stream)
 {
+       (void) stream;
        return (int) getchar() & 0xff;
 }