X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/4aa2768b7a9c6eff4e9c26daba0b46ded3fe3a71..52fd78ff62b919c5dd5e59af2550e4ff733816a1:/tests/costas.c?ds=sidebyside diff --git a/tests/costas.c b/tests/costas.c index fdce3fe..d303ede 100644 --- a/tests/costas.c +++ b/tests/costas.c @@ -2,7 +2,7 @@ extern void putc(unsigned char c); int main() { -// unsigned char *costas = "Costas likes ass"; + unsigned char *costas = "Costas likes ass"; putc('A'); putc('n'); @@ -10,13 +10,11 @@ int main() putc('s'); putc('?'); -// while (*costas) -// { -// putc(*costas); -// costas++; -// } - while(1) - ; + while (*costas) + { + putc(*costas); + costas++; + } return 0; }