| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-12-23 15:44:19 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-12-23 15:44:19 +0100 |
| commit | 390576c3839ee7abb845e27b7267de45495e6b2f (patch) | |
| tree | c481c37c868ccc65a3476f60b17369b21a90b79b /src/pervasive.h | |
| parent | 4355548f79375a62bb5e3bb5695190d48e4c0bc3 (diff) | |
Starting to turn relabsd into a proper daemon...
Diffstat (limited to 'src/pervasive.h')
| -rw-r--r-- | src/pervasive.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/pervasive.h b/src/pervasive.h deleted file mode 100644 index 6c08305..0000000 --- a/src/pervasive.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef RELABSD_PERVASIVE_H -#define RELABSD_PERVASIVE_H - -#include <string.h> - -#define RELABSD__TO_STRING(x) #x -#define RELABSD_TO_STRING(x) RELABSD__TO_STRING(x) - -#define RELABSD_ISOLATE(a) do {a} while (0) - -/* strncmp stops at '\0' and strlen does not count '\0'. */ -#define RELABSD_IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0) - -#define RELABSD_STRING_EQUALS(a, b) (strcmp(a, b) == 0) - -#endif |


