Cleaned up some #includes.

This commit is contained in:
Ryan C. Gordon 2010-09-06 19:35:01 -04:00
parent 3f02ce767f
commit f871802f51
20 changed files with 5 additions and 79 deletions

View File

@ -6,11 +6,6 @@
* This file written by Ryan C. Gordon.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -26,11 +26,6 @@
#if (defined PHYSFS_SUPPORTS_GRP)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -31,11 +31,6 @@
#if (defined PHYSFS_SUPPORTS_HOG)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -29,8 +29,6 @@
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"
#include <stdio.h>
#include <string.h>
#include <time.h>
/* cache files smaller than this completely in memory */

View File

@ -9,12 +9,6 @@
#if (defined PHYSFS_SUPPORTS_7Z)
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -29,11 +29,6 @@
#if (defined PHYSFS_SUPPORTS_MVL)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -31,11 +31,6 @@
#if (defined PHYSFS_SUPPORTS_QPAK)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -14,11 +14,6 @@
* This file written by Ryan C. Gordon.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -44,11 +44,6 @@
#if (defined PHYSFS_SUPPORTS_WAD)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -9,14 +9,11 @@
#if (defined PHYSFS_SUPPORTS_ZIP)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef _WIN32_WCE
#include <errno.h>
#include <time.h>
#endif
#include "physfs.h"
#include "zlib.h"
#define __PHYSICSFS_INTERNAL__

View File

@ -10,11 +10,6 @@
/* !!! FIXME: ERR_PAST_EOF shouldn't trigger for reads. Just return zero. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -8,9 +8,6 @@
* This file written by Ryan C. Gordon.
*/
#include <stdio.h>
#include <stdlib.h>
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -16,7 +16,10 @@
#include "physfs.h"
#include <stdlib.h> /* make sure NULL is defined... */
/* The holy trinity. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_ASSERT_H
#include <assert.h>
@ -29,11 +32,6 @@
#include <malloc.h>
#endif
/* !!! FIXME: if HAVE_ALLOCA_H would be good, too. */
#if sun
#include <alloca.h>
#endif
#if defined(__sun) || defined(sun)
#include <alloca.h>
#endif

View File

@ -1,5 +1,3 @@
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -35,9 +35,6 @@
#include <be/support/Locker.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>

View File

@ -22,10 +22,7 @@
#define INCL_DOSMISC
#include <os2.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include <ctype.h>

View File

@ -11,7 +11,6 @@
#ifdef PHYSFS_PLATFORM_POCKETPC
#include <stdio.h>
#include <windows.h>
#include "physfs_internal.h"

View File

@ -11,9 +11,6 @@
#ifdef PHYSFS_PLATFORM_POSIX
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/types.h>

View File

@ -11,9 +11,6 @@
#ifdef PHYSFS_PLATFORM_UNIX
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>

View File

@ -17,9 +17,6 @@
#endif
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include <time.h>