/[gnats]/gnats/libiberty/vsprintf.c
ViewVC logotype

Diff of /gnats/libiberty/vsprintf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by brendan, Thu Nov 5 19:54:16 1998 UTC revision 1.2 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 3  Line 3 
3     implementations of stdio; newer ones should already have vsprintf.     implementations of stdio; newer ones should already have vsprintf.
4     Written by Per Bothner of Cygnus Support.     Written by Per Bothner of Cygnus Support.
5     Based on libg++'s "form" (written by Doug Lea; dl@rocky.oswego.edu).     Based on libg++'s "form" (written by Doug Lea; dl@rocky.oswego.edu).
6     Copyright (C) 1991, 1995 Free Software Foundation, Inc.     Copyright (C) 1991, 1995, 2002 Free Software Foundation, Inc.
7    
8  This file is part of the libiberty library.  This library is free  This file is part of the libiberty library.  This library is free
9  software; you can redistribute it and/or modify it under the  software; you can redistribute it and/or modify it under the
# Line 26  the resulting executable to be covered b Line 26  the resulting executable to be covered b
26  This exception does not however invalidate any other reasons why  This exception does not however invalidate any other reasons why
27  the executable file might be covered by the GNU General Public License. */  the executable file might be covered by the GNU General Public License. */
28    
29    #include <ansidecl.h>
30    #ifdef ANSI_PROTOTYPES
31    #include <stdarg.h>
32    #else
33  #include <varargs.h>  #include <varargs.h>
34    #endif
35  #include <stdio.h>  #include <stdio.h>
 #include <ansidecl.h>  
36  #undef vsprintf  #undef vsprintf
37    
38    #if defined _IOSTRG && defined _IOWRT
39    
40  int  int
41  vsprintf (buf, format, ap)  vsprintf (buf, format, ap)
42       char *buf;       char *buf;
# Line 53  vsprintf (buf, format, ap) Line 59  vsprintf (buf, format, ap)
59    return ret;    return ret;
60    
61  }  }
62    
63    #endif

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26