diff options
author | okan | 2020-01-22 19:58:35 +0000 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-03-18 14:28:38 +0100 |
commit | ae986902cfc1846881bb4341f33c0e14b495c309 (patch) | |
tree | ca4e99c73a46dcd34d3dc8afb6418ac2b2b8b562 /calmwm.h | |
parent | 178643ac5ef7fc3d2dbf28352edb566daefee288 (diff) | |
download | cwm-ae986902cfc1846881bb4341f33c0e14b495c309.tar.gz |
add, then use, xvasprintf, checking for appropriate return.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.371 2019/03/07 14:28:17 okan Exp $ + * $OpenBSD: calmwm.h,v 1.372 2020/01/22 19:58:35 okan Exp $ */ #ifndef _CALMWM_H_ @@ -598,5 +598,7 @@ char *xstrdup(const char *); int xasprintf(char **, const char *, ...) __attribute__((__format__ (printf, 2, 3))) __attribute__((__nonnull__ (2))); +int xvasprintf(char **, const char *, va_list) + __attribute__((__nonnull__ (2))); #endif /* _CALMWM_H_ */ |