~ubuntu-branches/ubuntu/hardy/prelude-manager/hardy

« back to all changes in this revision

Viewing changes to libmissing/vasnprintf.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2007-03-22 18:09:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070322180927-tzvkkuk7yc5m0s9d
Tags: 0.9.7.2-2
* Fix permissions on configuration file (make sure it is not world-readable)
* Update my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* vsprintf with automatic memory allocation.
2
 
   Copyright (C) 2002-2004 Free Software Foundation, Inc.
 
2
   Copyright (C) 2002-2004, 2007 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify
5
5
   it under the terms of the GNU Lesser General Public License as published by
37
37
# endif
38
38
#endif
39
39
 
40
 
#ifdef  __cplusplus
 
40
#ifdef __cplusplus
41
41
extern "C" {
42
42
#endif
43
43
 
65
65
                free (output);
66
66
            }
67
67
  */
 
68
#if REPLACE_VASNPRINTF
 
69
# define asnprintf rpl_asnprintf
 
70
# define vasnprintf rpl_vasnprintf
 
71
#endif
68
72
extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...)
69
73
       __attribute__ ((__format__ (__printf__, 3, 4)));
70
74
extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
71
75
       __attribute__ ((__format__ (__printf__, 3, 0)));
72
76
 
73
 
#ifdef  __cplusplus
 
77
#ifdef __cplusplus
74
78
}
75
79
#endif
76
80