]> git.sur5r.net Git - cc65/blobdiff - test/ref/cc65090910.c
remote TABs in doc/ and test/
[cc65] / test / ref / cc65090910.c
index c8e5ce9344b1d68499ccb9057369b1636eeb1f9a..d68c2b8e645d70330b20ce94c408f91300e8141e 100644 (file)
@@ -5,6 +5,8 @@
   !!AUTHOR!!      Oliver Schmidt
 */
 
+#include <stdio.h>
+
 /*
 After spending a "little" time I finally succeeded in isolating an
 (maybe THE) optimizer bug causing Contiki to fail.
@@ -15,7 +17,7 @@ with compiler option -O but does _not_ show up with -Oi.
 
 unsigned htons(unsigned val)
 {
-       return (((unsigned) (val)) << 8) | (((unsigned) (val)) >> 8);
+        return (((unsigned) (val)) << 8) | (((unsigned) (val)) >> 8);
 }
 
 int main(void)