Use fewer header files

Removing some includes to reduce the code that is dragged in.
This commit is contained in:
Matthew Parkinson
2019-04-15 16:19:50 +01:00
committed by Matthew Parkinson
parent 30ad9722a7
commit 4faf9f3bee
13 changed files with 39 additions and 25 deletions

View File

@@ -5,10 +5,11 @@
# include "../mem/allocconfig.h"
# include <pthread.h>
# include <stdio.h>
# include <strings.h>
# include <sys/mman.h>
int puts ( const char * str );
namespace snmalloc
{
/**

View File

@@ -4,7 +4,6 @@
# include "../ds/bits.h"
# include "../mem/allocconfig.h"
# include <pthread.h>
# include <stdio.h>
# include <strings.h>
# include <sys/mman.h>

View File

@@ -4,10 +4,11 @@
# include "../ds/bits.h"
# include "../mem/allocconfig.h"
# include <stdio.h>
# include <string.h>
# include <sys/mman.h>
int puts ( const char * str );
namespace snmalloc
{
class PALLinux