[common] numerious bad usage bug fixes

This commit is contained in:
Geoffrey McRae committed 2020-01-10 18:04:22 +11:00
1 parent 76fa390e3d
commit 22f04a926f
8 files changed
+32 -14

No files matched your search

+2 -1
View File
@@ -18,4 +18,5 @@ Place, Suite 330, Boston, MA 02111-1307 USA
*/
// sprintf but with buffer allocation
int alloc_sprintf(char ** str, const char * format, ...);
int alloc_sprintf(char ** str, const char * format, ...)
__attribute__ ((format (printf, 2, 3)));