[BACK]Return to _warnx.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/Attic/_warnx.c between version 1.9 and 1.10

version 1.9, 2005/07/16 18:01:38 version 1.10, 2005/09/13 01:44:09
Line 10 
Line 10 
 __RCSID("$NetBSD$");  __RCSID("$NetBSD$");
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
 #if defined(__indr_reference) && !defined(__lint__)  #if defined(__indr_reference)
 __indr_reference(_warnx, warnx)  __indr_reference(_warnx, warnx)
 #else  #else
   
 #define __NO_NAMESPACE_H        /* XXX */  #include <stdarg.h>
 #define _warnx  warnx  
 #define _vwarnx vwarnx  void _vwarnx(const char *, _BSD_VA_LIST_);
 #define rcsid   _rcsid  
 #include "warnx.c"  void
   warnx(const char *fmt, ...)
   {
           va_list ap;
   
           va_start(ap, fmt);
           _vwarnx(eval, fmt, ap);
           va_end(ap);
   }
   
 #endif  #endif

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVSweb <webmaster@jp.NetBSD.org>