aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2020-01-22 19:58:35 +0000
committerWynn Wolf Arbor2020-03-18 14:28:38 +0100
commitae986902cfc1846881bb4341f33c0e14b495c309 (patch)
treeca4e99c73a46dcd34d3dc8afb6418ac2b2b8b562 /calmwm.h
parent178643ac5ef7fc3d2dbf28352edb566daefee288 (diff)
downloadcwm-ae986902cfc1846881bb4341f33c0e14b495c309.tar.gz
add, then use, xvasprintf, checking for appropriate return.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 864f4f4..008c16e 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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_ */