Cleanup: remove stdio.h header from MEM_guardedalloc.h
This was included for `FILE *` which isn't used in the header. Ref D10799
This commit is contained in:
@@ -49,8 +49,6 @@
|
||||
#ifndef __MEM_GUARDEDALLOC_H__
|
||||
#define __MEM_GUARDEDALLOC_H__
|
||||
|
||||
#include <stdio.h> /* needed for FILE* */
|
||||
|
||||
/* Needed for uintptr_t and attributes, exception, don't use BLI anywhere else in `MEM_*` */
|
||||
#include "../../source/blender/blenlib/BLI_compiler_attrs.h"
|
||||
#include "../../source/blender/blenlib/BLI_sys_types.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <cstdlib>
|
||||
#include <stdio.h> /* Needed for `printf` on WIN32/APPLE. */
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "mallocn_intern.h"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h> /* offsetof */
|
||||
#include <stdio.h> /* printf */
|
||||
#include <stdlib.h>
|
||||
#include <string.h> /* memcpy */
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h> /* printf */
|
||||
#include <stdlib.h>
|
||||
#include <string.h> /* memcpy */
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user