build: fix sine example compiling with MSVC

This commit is contained in:
Andrew Kelley 2015-08-20 00:44:56 -07:00
parent 92f7e85d72
commit 2514e19195

View file

@ -13,9 +13,6 @@
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
__attribute__ ((cold))
__attribute__ ((noreturn))
__attribute__ ((format (printf, 1, 2)))
static void panic(const char *format, ...) { static void panic(const char *format, ...) {
va_list ap; va_list ap;
va_start(ap, format); va_start(ap, format);