CVS: msp430-libc/src/stdlib puts.c,1.2,1.3

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc/src/stdlib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6148/msp430-libc/src/stdlib

Modified Files:
	puts.c 
Log Message:
cleanup

Index: puts.c
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/src/stdlib/puts.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- puts.c	11 Oct 2003 01:37:18 -0000	1.2
+++ puts.c	12 Aug 2005 21:09:14 -0000	1.3
@@ -24,17 +24,12 @@
 
 
 #include <stdio.h>
-#ifdef __STDC__
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
+
 
 int puts(const char *s) {
     int ok = 0; //successfully write an empty string
     while (*s && ((ok = putchar(*s++)) >= 0)) {}
-    if (ok >= 0)
-    {
+    if (ok >= 0) {
         return putchar('\n');
     } else {
         return ok;



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.