projects
/
mes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mescc: Support gcc-3.2: puts with newline.
[mes.git]
/
lib
/
libc-mini.c
diff --git
a/lib/libc-mini.c
b/lib/libc-mini.c
index 4eb165b1c7d60b05dfd857bb9247f391c032ae3f..16ac449e69b496c8afa30c8624a4fd3c191a2bf8 100644
(file)
--- a/
lib/libc-mini.c
+++ b/
lib/libc-mini.c
@@
-49,13
+49,20
@@
eputs (char const* s)
}
int
}
int
-puts (char const* s)
+
o
puts (char const* s)
{
int i = strlen (s);
write (1, s, i);
return 0;
}
{
int i = strlen (s);
write (1, s, i);
return 0;
}
+int
+puts (char const* s)
+{
+ oputs (s);
+ return oputs ("\n");
+}
+
#if __MESC__
#include <linux-mini-mes.c>
#if __MESC__
#include <linux-mini-mes.c>