чување 74d80f8ca27bf8c1b9593196ec8697add5494081
родитељ 9f1466d7295da48962b98295ecee0ca0babdc73e
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Mon, 15 Jul 2024 22:57:30 +0200
defs.h: Move includes to slweb.c; get rid of #ifdef __DEFS_H
Diffstat:
| M | defs.h | | | 29 | ----------------------------- |
измењених датотека: 1, додавања: 0(+), брисања: 29(-)
diff --git a/defs.h b/defs.h
@@ -2,33 +2,6 @@
* any later version. Copyright (C) 2020-2024 Страхиња Радић.
* See the file LICENSE for exact copyright and license details. */
-#ifndef __DEFS_H
-#define __DEFS_H
-
-#include <ctype.h>
-#include <dirent.h>
-#include <errno.h>
-#include <signal.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <unistd.h>
-
-#ifndef strlcpy
-size_t strlcpy(char* dst, const char* src, size_t dsize);
-#endif
-#ifndef strlcat
-size_t strlcat(char* dst, const char* src, size_t dsize);
-#endif
-
-#include "version.h"
-#include "utf8.h"
-
#define COPYRIGHTYEAR "2020-2024"
#define MADEBY_URL "https://strahinja.srht.site/slweb/"
@@ -133,5 +106,3 @@ typedef int (*tsv_callback_t)(FILE* output, u8** tsv_header, u8** tsv_register);
#define ST_CS_COND_NONEMPTY (1 << 5)
#define ST_CS_COND_EMPTY (1 << 6)
#define ST_CS_ESCAPE (1 << 7)
-
-#endif /* __DEFS_H */