From b4bbd479174fd06c13295f33845f39427c0776b3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 25 Apr 2015 08:07:45 -0700 Subject: 1198 - now compiles on mac os; thanks sam putman Just toss out that snprintf prototype I'd hackily copied in earlier and avoid using snprintf entirely. Hopefully I got the assertions right :/ Looks like the previous nul-padding was redundant. If you had snprintf it would take care of it. --- cpp/termbox/termbox.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cpp/termbox/termbox.c') diff --git a/cpp/termbox/termbox.c b/cpp/termbox/termbox.c index 6d1b7b7d..13ef1359 100644 --- a/cpp/termbox/termbox.c +++ b/cpp/termbox/termbox.c @@ -5,7 +5,6 @@ #include #include #include -int snprintf(char *str, size_t size, const char *format, ...); // until we enable gnu99 #include #include #include -- cgit 1.4.1-2-gfad0