summaryrefslogtreecommitdiff
path: root/runtime/GCCLibraries/libc/io.c
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-08-21 22:40:44 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-08-21 22:40:44 +0000
commitb08c6db11511275eee96c48534c351e4e02b850b (patch)
tree1dec9c5319500b1ea6c36cc5ece9cbcb651caf78 /runtime/GCCLibraries/libc/io.c
parent0b8e02b70404302a83da6868b3ebe1b66e8e1ba8 (diff)
downloadllvm-b08c6db11511275eee96c48534c351e4e02b850b.tar.gz
llvm-b08c6db11511275eee96c48534c351e4e02b850b.tar.bz2
llvm-b08c6db11511275eee96c48534c351e4e02b850b.tar.xz
Dror GCCLibraries: they are obsolete since 2.0 release. This also reduces number of licenses used in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/GCCLibraries/libc/io.c')
-rw-r--r--runtime/GCCLibraries/libc/io.c18
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;
-}