summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/GCCLibraries/libc/io.c
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-16 23:17:27 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-16 23:17:27 +0000
commit3f97d03f862e1debfedfda4e6dd5ed7bb4ee8c4c (patch)
tree83dcd162f585ea723252fa1ec7ed4fae49828948 /llvm/runtime/GCCLibraries/libc/io.c
parent48850c10c0278cb335aa2158166241923705ad6c (diff)
downloadbcm5719-llvm-3f97d03f862e1debfedfda4e6dd5ed7bb4ee8c4c.tar.gz
bcm5719-llvm-3f97d03f862e1debfedfda4e6dd5ed7bb4ee8c4c.zip
In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support will
be dropped. This patch pertains to removing the runtime directory from LLVM. llvm-svn: 31793
Diffstat (limited to 'llvm/runtime/GCCLibraries/libc/io.c')
-rw-r--r--llvm/runtime/GCCLibraries/libc/io.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/runtime/GCCLibraries/libc/io.c b/llvm/runtime/GCCLibraries/libc/io.c
deleted file mode 100644
index e09283ada5a..00000000000
--- a/llvm/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;
-}
OpenPOWER on IntegriCloud