* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef AST_H
-#define AST_H
-
#include <sfio/sfio.h>
#include <stdlib.h>
#include <string.h>
extern int stresc(char *);
extern char *strcopy(char *s, const char *t);
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#ifndef UNISTD_H
-#define UNISTD_H
+#pragma once
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-
-#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
* standalone mini error interface
*/
-#ifndef _ERROR_H
-#define _ERROR_H
-
#include <stdarg.h>
#include <errno.h>
#undef PRINTF_LIKE
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
* digit args passed as HASHKEYN('2')
*/
-#ifndef _HASHKEY_H
-#define _HASHKEY_H
-
#define HASHKEYMAX 6
#define HASHKEYBIT 5
#define HASHKEYOFF ('a'-1)
#undef extern
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
* macro interface for sfio write strings
*/
-#ifndef _SFSTR_H
-#define _SFSTR_H
-
#include <sfio/sfio.h>
#define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING)
#define sfstruse(f) (sfputc(f,0), (char*)((f)->next = (f)->data) )
-#endif
-
#ifdef __cplusplus
}
#endif