/[global]/global/libutil/strbuf.h
ViewVC logotype

Diff of /global/libutil/strbuf.h

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

revision 1.16 by h-iwamoto, Thu May 19 11:27:13 2005 UTC revision 1.17 by shigio, Tue Oct 4 05:53:53 2005 UTC
# Line 28  Line 28 
28  #else  #else
29  #include <strings.h>  #include <strings.h>
30  #endif  #endif
 #ifdef HAVE_STDARG_H  
31  #include <stdarg.h>  #include <stdarg.h>
 #else  
 #include <varargs.h>  
 #endif  
32    
33  #ifndef __attribute__  #ifndef __attribute__
34  /* This feature is available in gcc versions 2.5 and later.  */  /* This feature is available in gcc versions 2.5 and later.  */
# Line 138  char *strbuf_value(STRBUF *); Line 134  char *strbuf_value(STRBUF *);
134  void strbuf_trim(STRBUF *);  void strbuf_trim(STRBUF *);
135  void strbuf_close(STRBUF *);  void strbuf_close(STRBUF *);
136  char *strbuf_fgets(STRBUF *, FILE *, int);  char *strbuf_fgets(STRBUF *, FILE *, int);
 #ifdef HAVE_STDARG_H  
137  void strbuf_sprintf(STRBUF *sb, const char *s, ...)  void strbuf_sprintf(STRBUF *sb, const char *s, ...)
138          __attribute__ ((__format__ (__printf__, 2, 3)));          __attribute__ ((__format__ (__printf__, 2, 3)));
 #else  
 void strbuf_sprintf();  
 #endif  
139  STRBUF *strbuf_open_tempbuf();  STRBUF *strbuf_open_tempbuf();
140  void strbuf_release_tempbuf(STRBUF *);  void strbuf_release_tempbuf(STRBUF *);
141  #ifdef STRBUF_LINK  #ifdef STRBUF_LINK

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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