/[jscoverage]/trunk/util.h
ViewVC logotype

Diff of /trunk/util.h

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

revision 398 by siliconforks, Tue Dec 9 03:23:52 2008 UTC revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC
# Line 29  Line 29 
29    
30  #include <sys/stat.h>  #include <sys/stat.h>
31    
32    #ifdef __cplusplus
33    extern "C" {
34    #endif
35    
36  extern const char * program;  extern const char * program;
37    
38  void fatal(const char * format, ...)  void fatal(const char * format, ...)
# Line 63  Line 67 
67    
68  char * xstrndup(const char * s, size_t size);  char * xstrndup(const char * s, size_t size);
69    
70  int xasprintf(char ** s, const char * template, ...) __attribute__((__format__(printf, 2, 3)));  int xasprintf(char ** s, const char * format, ...) __attribute__((__format__(printf, 2, 3)));
71    
72  char * xgetcwd(void);  char * xgetcwd(void);
73    
# Line 115  Line 119 
119  #endif  #endif
120    
121  #ifndef HAVE_VASPRINTF  #ifndef HAVE_VASPRINTF
122  int vasprintf(char ** s, const char * template, va_list a);  int vasprintf(char ** s, const char * format, va_list a);
123  #endif  #endif
124    
125  #ifndef HAVE_ASPRINTF  #ifndef HAVE_ASPRINTF
126  int asprintf(char ** s, const char * template, ...) __attribute__((__format__(printf, 2, 3)));  int asprintf(char ** s, const char * format, ...) __attribute__((__format__(printf, 2, 3)));
127    #endif
128    
129    #ifdef __cplusplus
130    }
131  #endif  #endif
132    
133  #endif /* UTIL_H_ */  #endif /* UTIL_H_ */

Legend:
Removed from v.398  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.24