From dc6cec65aff520783432bb9d177a0d87322396b3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 18 Sep 2019 13:19:29 +1000 Subject: Cleanup: includes for readfile.c --- source/blender/blenloader/intern/readfile.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index b0ea7ce2aef..2593e4d05e1 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -24,15 +24,12 @@ #include "zlib.h" #include -#include // for printf fopen fwrite fclose sprintf FILE -#include // for getenv atoi -#include // for offsetof -#include // for open -#include // for strrchr strncmp strstr -#include // for fabs -#include /* for va_start/end */ -#include /* for gmtime */ -#include /* for isdigit */ +#include /* for atoi. */ +#include /* for offsetof. */ +#include /* for open flags (O_BINARY, O_RDONLY). */ +#include /* for va_start/end. */ +#include /* for gmtime. */ +#include /* for isdigit. */ #include "BLI_utildefines.h" #ifndef WIN32 @@ -95,8 +92,6 @@ #include "DNA_movieclip_types.h" #include "DNA_mask_types.h" -#include "RNA_access.h" - #include "MEM_guardedalloc.h" #include "BLI_endian_switch.h" @@ -179,7 +174,7 @@ * - read associated 'direct data' * - link direct data (internal and to LibBlock) * - read #FileGlobal - * - read #USER data, only when indicated (file is ``~/X.XX/startup.blend``) + * - read #USER data, only when indicated (file is `~/.config/blender/X.XX/config/userpref.blend`) * - free file * - per Library (per #Main) * - read file -- cgit v1.2.3