From 035b2e455661701b217c54ad7e7afed8d7ead8fd Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 6 Nov 2007 17:18:49 +0100 Subject: move sourceclean.c to tools/ --- sourceclean.c | 12 ------------ tools/sourceclean.c | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 sourceclean.c create mode 100644 tools/sourceclean.c diff --git a/sourceclean.c b/sourceclean.c deleted file mode 100644 index 8fb02c4..0000000 --- a/sourceclean.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -int main(int argc, char **argv) { - unsigned char c; - while (fread(&c, sizeof(c), 1, stdin)) { - if (c < 128) { - printf("%c", c); - } else { - printf("\\x%2X", c); - } - } -} diff --git a/tools/sourceclean.c b/tools/sourceclean.c new file mode 100644 index 0000000..8fb02c4 --- /dev/null +++ b/tools/sourceclean.c @@ -0,0 +1,12 @@ +#include + +int main(int argc, char **argv) { + unsigned char c; + while (fread(&c, sizeof(c), 1, stdin)) { + if (c < 128) { + printf("%c", c); + } else { + printf("\\x%2X", c); + } + } +} -- cgit v1.2.3