aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_kerning.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-29 16:25:20 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-29 16:25:20 +1000
commit12085b8014234b10739d5cf22ed6c6d055ce8741 (patch)
tree97cdf7ab1afe7ab6c8db761154618e779761fdb9 /src/gdisp/mcufont/mf_kerning.h
parent3ac4e9e789b7f0d5a9d18f9073a09d4e7a4fd3f0 (diff)
downloaduGFX-12085b8014234b10739d5cf22ed6c6d055ce8741.tar.gz
uGFX-12085b8014234b10739d5cf22ed6c6d055ce8741.tar.bz2
uGFX-12085b8014234b10739d5cf22ed6c6d055ce8741.zip
Fix compiler warnings, operating system dependancies, and non-portable code.
Diffstat (limited to 'src/gdisp/mcufont/mf_kerning.h')
-rw-r--r--src/gdisp/mcufont/mf_kerning.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gdisp/mcufont/mf_kerning.h b/src/gdisp/mcufont/mf_kerning.h
index 1014c8dd..043265c7 100644
--- a/src/gdisp/mcufont/mf_kerning.h
+++ b/src/gdisp/mcufont/mf_kerning.h
@@ -28,9 +28,7 @@
MF_EXTERN int8_t mf_compute_kerning(const struct mf_font_s *font,
mf_char c1, mf_char c2);
#else
-static int8_t mf_compute_kerning(const struct mf_font_s *font,
- mf_char c1, mf_char c2)
-{ return 0; }
+#define mf_compute_kerning(font, c1, c2) 0
#endif
-#endif \ No newline at end of file
+#endif