aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2021-12-29 10:21:38 +0100
committerThomas Schmucker <ts@its1.de>2021-12-29 10:21:38 +0100
commitee6f566950603d2439b8748fb03870aab6c43302 (patch)
tree9177d3082d5048d7fab14ec4a43b93ddf0a93d65 /util.h
parent4a3b2cbfbc070da4bc8b13456d6a0bfd81002dee (diff)
downloaddata-structures-ee6f566950603d2439b8748fb03870aab6c43302.tar.gz
data-structures-ee6f566950603d2439b8748fb03870aab6c43302.tar.bz2
data-structures-ee6f566950603d2439b8748fb03870aab6c43302.zip
feat: code vereinfacht: Jeder Compiler kommt inzwischen mit pragma once klar
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/util.h b/util.h
index 614c4b0..df602e8 100644
--- a/util.h
+++ b/util.h
@@ -1,5 +1,4 @@
1#ifndef ITS1_UTIL_H_INCLUDED 1#pragma once
2#define ITS1_UTIL_H_INCLUDED
3 2
4#include <stdarg.h> 3#include <stdarg.h>
5#include <stdio.h> 4#include <stdio.h>
@@ -27,5 +26,3 @@ error(const char *msg, ...)
27#ifndef NELEM 26#ifndef NELEM
28# define NELEM(x) (sizeof(x) / sizeof(x[0])) /* NOLINT */ 27# define NELEM(x) (sizeof(x) / sizeof(x[0])) /* NOLINT */
29#endif 28#endif
30
31#endif