~sircmpwn/scdoc

afeda241f3f9b2c27e461f32d9c2a704ab82ef61 — Eli Schwartz 1 year, 6 months ago d562d7e
get rid of some unused includes

In main.c, unistd.h is a fairly big stick to use just to get stdint
types, so downgrade that header.
3 files changed, 1 insertions(+), 3 deletions(-)

M include/util.h
M src/main.c
M src/utf8_decode.c
M include/util.h => include/util.h +0 -1
@@ 1,6 1,5 @@
#ifndef _SCDOC_PARSER_H
#define _SCDOC_PARSER_H
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>


M src/main.c => src/main.c +1 -1
@@ 4,11 4,11 @@
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "str.h"
#include "unicode.h"
#include "util.h"

M src/utf8_decode.c => src/utf8_decode.c +0 -1
@@ 1,5 1,4 @@
#include <stdint.h>
#include <stddef.h>
#include "unicode.h"

uint8_t masks[] = {