Update error.fmt to match update error.c

This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-13 14:32:17 +00:00
parent 6c5abfa42b
commit f5dc8ec358

View file

@ -28,14 +28,14 @@
#if defined(POLARSSL_ERROR_C) || defined(POLARSSL_ERROR_STRERROR_DUMMY) #if defined(POLARSSL_ERROR_C) || defined(POLARSSL_ERROR_STRERROR_DUMMY)
#include "polarssl/error.h" #include "polarssl/error.h"
#include <string.h>
#endif #endif
#if defined(POLARSSL_ERROR_C) #if defined(POLARSSL_ERROR_C)
HEADER_INCLUDED
#include <stdio.h> #include <stdio.h>
#include <string.h>
HEADER_INCLUDED
#if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \ #if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \
!defined(EFI32) !defined(EFI32)
#define snprintf _snprintf #define snprintf _snprintf
@ -114,8 +114,6 @@ void error_strerror( int ret, char *buf, size_t buflen )
#if defined(POLARSSL_ERROR_STRERROR_DUMMY) #if defined(POLARSSL_ERROR_STRERROR_DUMMY)
#include <string.h>
/* /*
* Provide an non-function in case POLARSSL_ERROR_C is not defined * Provide an non-function in case POLARSSL_ERROR_C is not defined
*/ */