diff options
Diffstat (limited to 'runtime/GCCLibraries/libc/io.c')
-rw-r--r-- | runtime/GCCLibraries/libc/io.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/runtime/GCCLibraries/libc/io.c b/runtime/GCCLibraries/libc/io.c deleted file mode 100644 index e09283ada5..0000000000 --- a/runtime/GCCLibraries/libc/io.c +++ /dev/null @@ -1,18 +0,0 @@ -//===-- io.c - IO routines for LLVM libc Library ------------------*- C -*-===// -// -// A lot of this code is ripped gratuitously from glibc and libiberty. -// -//===----------------------------------------------------------------------===// - -int putchar(int); - -// The puts() function writes the string pointed to by s, followed by a -// NEWLINE character, to the standard output stream stdout. On success the -// number of characters written is returned; otherwise they return EOF. -// -int puts(const char *S) { - const char *Str = S; - while (*Str) putchar(*Str++); - putchar('\n'); - return Str+1-S; -} |