Avoid ssp re-definitions for the functions we provide.

This commit is contained in:
christos 2012-10-31 13:48:12 +00:00
parent 9c5c1c9f13
commit a1801097ec
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,12 @@ cat << _EOF > $2
#include <atf-c.h>
/* Avoid SSP re-definitions */
#undef snprintf
#undef vsnprintf
#undef sprintf
#undef vsprintf
#define KPRINTF_BUFSIZE 1024
#undef putchar
#define putchar xputchar