Cleanup: apply clang-tidy modernize-deprecated-headers
This commit is contained in:
parent
2783af45ee
commit
375c217ea0
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
#include "ANIM_animdata.hh"
|
||||
#include "ANIM_fcurve.hh"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* Thumbnail from Blend file extraction for MS-Windows.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <new>
|
||||
#include <shlwapi.h>
|
||||
#include <string>
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
* </pre>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include "CLG_log.h"
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
*/
|
||||
|
||||
#ifdef WITH_FFMPEG
|
||||
# include <stdio.h>
|
||||
# include <string.h>
|
||||
# include <cstdio>
|
||||
# include <cstring>
|
||||
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
|
||||
# include "MEM_guardedalloc.h"
|
||||
|
||||
|
|
|
@ -6,18 +6,18 @@
|
|||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cerrno>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef WIN32
|
||||
# include <dirent.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#include <ctime>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef WIN32
|
||||
# include "BLI_winstuff.h"
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
* Otherwise new chunks are created.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#include <stdlib.h> /* malloc */
|
||||
#include <string.h>
|
||||
#include <cstdlib> /* malloc */
|
||||
#include <cstring>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
|
||||
#include <zlib.h>
|
||||
#include <zstd.h>
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
*/
|
||||
|
||||
#include <algorithm> /* For `min/max`. */
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <cctype>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include "DNA_listBase.h"
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
* Some really low-level file operations.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
@ -31,8 +31,8 @@
|
|||
# include <sys/vfs.h>
|
||||
#endif
|
||||
|
||||
#include <cstring>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
# include "BLI_string_utf8.h"
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cwchar>
|
||||
#include <cwctype>
|
||||
#include <wcwidth.h>
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <cctype>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include <array>
|
||||
|
||||
|
|
Loading…
Reference in New Issue