From af628b8a6c3ef403644d83d205c80ff188c97f0c Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Fri, 3 Apr 2020 02:25:21 +0000 Subject: upstream: add allocating variant of the safe utf8 printer; ok dtucker as part of a larger diff OpenBSD-Commit-ID: 037e2965bd50eacc2ffb49889ecae41552744fa0 --- utf8.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utf8.h') diff --git a/utf8.h b/utf8.h index 88c5a34a..20a11dc5 100644 --- a/utf8.h +++ b/utf8.h @@ -1,4 +1,4 @@ -/* $OpenBSD: utf8.h,v 1.1 2016/05/25 23:48:45 schwarze Exp $ */ +/* $OpenBSD: utf8.h,v 1.2 2020/04/03 02:25:21 djm Exp $ */ /* * Copyright (c) 2016 Ingo Schwarze * @@ -22,4 +22,6 @@ int fmprintf(FILE *, const char *, ...) int vfmprintf(FILE *, const char *, va_list); int snmprintf(char *, size_t, int *, const char *, ...) __attribute__((format(printf, 4, 5))); +int asmprintf(char **, size_t, int *, const char *, ...) + __attribute__((format(printf, 4, 5))); void msetlocale(void); -- cgit v1.2.3