Cleaned up includes

This commit is contained in:
Snaipe 2015-03-17 00:56:33 +01:00
parent 99d84d8009
commit a939356f2e
8 changed files with 6 additions and 10 deletions

View file

@ -24,6 +24,8 @@
#ifndef CRITERION_EVENT_H_
# define CRITERION_EVENT_H_
# include <stddef.h>
extern int EVENT_PIPE;
void send_event(int kind, void *data, size_t size);

View file

@ -24,6 +24,7 @@
#ifndef CRITERION_OPTIONS_H_
# define CRITERION_OPTIONS_H_
# include <stdbool.h>
# include "logging.h"
struct criterion_options {

View file

@ -25,6 +25,7 @@
# define CRITERION_STATS_H_
# include <stdbool.h>
# include <stddef.h>
# include "criterion.h"
struct criterion_assert_stats {

View file

@ -21,14 +21,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "criterion/assert.h"
#undef assert
#include <fcntl.h>
#include <unistd.h>
#include <assert.h>
#include <csptr/smart_ptr.h>
#include "criterion/criterion.h"
#include "criterion/stats.h"
#include "criterion/hooks.h"
#include "event.h"

View file

@ -1,6 +1,5 @@
#define _GNU_SOURCE
#include <criterion/criterion.h>
#include <criterion/logging.h>
#include <criterion/options.h>
#include <stdio.h>
#include <getopt.h>

View file

@ -22,9 +22,7 @@
* THE SOFTWARE.
*/
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <sys/signal.h>
#include <sys/wait.h>
#include <csptr/smart_ptr.h>

View file

@ -24,6 +24,8 @@
#ifndef PROCESS_H_
# define PROCESS_H_
# include <stdbool.h>
struct process;
enum status_kind {

View file

@ -24,9 +24,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/wait.h>
#include <csptr/smart_ptr.h>
#include "criterion/assert.h"
#include "criterion/options.h"
#include "stats.h"
#include "runner.h"