summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h
index a92f62c..e8879a6 100644
--- a/include/common.h
+++ b/include/common.h
@@ -43,19 +43,15 @@ void my_puts(const char *s)
fputs(s, stdout);
}
-#ifdef __AVR__
static inline
void my_puts_P(const char *s)
{
+#ifdef __AVR__
fputs_P(s, stdout);
-}
-
#else
-static inline
-void my_puts_P(const char *s)
-{
fputs(s, stdout);
-}
#endif /* __AVR__ */
+}
+
#endif /* COMMON_H */