提交 f6cd2945 authored 作者: Michael Jerris's avatar Michael Jerris

FS-5956: fix __sputc included twice due to stdio.h inlining issue

上级 623e1ec5
...@@ -46,6 +46,10 @@ ...@@ -46,6 +46,10 @@
#define MATH_H #define MATH_H
#include "datatypes.h" #include "datatypes.h"
#ifndef SRTP_KERNEL
# include <stdio.h>
#endif
unsigned char unsigned char
v32_weight(v32_t a); v32_weight(v32_t a);
......
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
#include <stdarg.h> #include <stdarg.h>
#ifndef SRTP_KERNEL #ifndef SRTP_KERNEL
# include <stdio.h>
# include <string.h> # include <string.h>
# include <time.h> # include <time.h>
# ifdef HAVE_NETINET_IN_H # ifdef HAVE_NETINET_IN_H
......
...@@ -46,6 +46,9 @@ ...@@ -46,6 +46,9 @@
#include "alloc.h" #include "alloc.h"
#include "crypto_kernel.h" #include "crypto_kernel.h"
#ifndef SRTP_KERNEL
# include <stdio.h>
#endif
/* the debug module for the crypto_kernel */ /* the debug module for the crypto_kernel */
......
...@@ -47,6 +47,9 @@ ...@@ -47,6 +47,9 @@
#endif #endif
#include "err.h" #include "err.h"
#ifndef SRTP_KERNEL
# include <stdio.h>
#endif
#ifdef ERR_REPORTING_SYSLOG #ifdef ERR_REPORTING_SYSLOG
# ifdef HAVE_SYSLOG_H # ifdef HAVE_SYSLOG_H
......
...@@ -814,7 +814,6 @@ bitvector_get_bit(const bitvector_t *v, int bit_index) { ...@@ -814,7 +814,6 @@ bitvector_get_bit(const bitvector_t *v, int bit_index) {
} }
#include <stdio.h>
int int
bitvector_print_hex(const bitvector_t *v, FILE *stream) { bitvector_print_hex(const bitvector_t *v, FILE *stream) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论