diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-18 06:19:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-18 06:29:08 +0300 |
commit | dc6cec65aff520783432bb9d177a0d87322396b3 (patch) | |
tree | 4f6a972c7873579712f60cfeb5b4dac878ef265f /source/blender | |
parent | 9609840b5ea1f8ef1ae9ad39423223d465a4594a (diff) |
Cleanup: includes for readfile.c
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 19 |
1 files 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 <limits.h> -#include <stdio.h> // for printf fopen fwrite fclose sprintf FILE -#include <stdlib.h> // for getenv atoi -#include <stddef.h> // for offsetof -#include <fcntl.h> // for open -#include <string.h> // for strrchr strncmp strstr -#include <math.h> // for fabs -#include <stdarg.h> /* for va_start/end */ -#include <time.h> /* for gmtime */ -#include <ctype.h> /* for isdigit */ +#include <stdlib.h> /* for atoi. */ +#include <stddef.h> /* for offsetof. */ +#include <fcntl.h> /* for open flags (O_BINARY, O_RDONLY). */ +#include <stdarg.h> /* for va_start/end. */ +#include <time.h> /* for gmtime. */ +#include <ctype.h> /* 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 |