X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/4aa2768b7a9c6eff4e9c26daba0b46ded3fe3a71..121556d62c2c40b07a709ef038fa1ce0a67127c9:/tests/costas.c 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; }