diff options
| author | Thomas Schmucker <ts@its1.de> | 2021-12-29 10:21:38 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2021-12-29 10:21:38 +0100 |
| commit | ee6f566950603d2439b8748fb03870aab6c43302 (patch) | |
| tree | 9177d3082d5048d7fab14ec4a43b93ddf0a93d65 | |
| parent | 4a3b2cbfbc070da4bc8b13456d6a0bfd81002dee (diff) | |
| download | data-structures-ee6f566950603d2439b8748fb03870aab6c43302.tar.gz data-structures-ee6f566950603d2439b8748fb03870aab6c43302.tar.bz2 data-structures-ee6f566950603d2439b8748fb03870aab6c43302.zip | |
feat: code vereinfacht: Jeder Compiler kommt inzwischen mit pragma once klar
| -rw-r--r-- | util.h | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -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 | ||
