]> git.ipfire.org Git - thirdparty/asterisk.git/commit
iostream: Fix ast_iostream_printf declaration.
authorCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 01:50:48 +0000 (20:50 -0500)
committerCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 01:55:20 +0000 (19:55 -0600)
commit9da69ac6c16e008c72ec8fda2d34b1036cdbfde3
tree8f3e02203daf1de6d2578aa8e0283a39138d1900
parent8fdc7fd1d3e77ae171671231e318d15710a0f715
iostream: Fix ast_iostream_printf declaration.

This adds the printf attribute and changes 'fmt' from 'const void *' to
'const char *'.  This resolves a warning from some compiler for
vsnprintf needing a literal string for format.

Change-Id: I71c33a8262590042ee451e1146760c10bb22fb78
include/asterisk/iostream.h
main/iostream.c