diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-06 14:58:18 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-06 14:58:18 -0800 |
| commit | 446beac7d8fe7e2f4cb54dec849a1585d1f5b5c5 (patch) | |
| tree | d6b360004ac5837db594c08d3ebaf5d2099b81e8 /include | |
| parent | f42d0c6ef956d119e8762a3ecda37886fa055637 (diff) | |
| download | nng-446beac7d8fe7e2f4cb54dec849a1585d1f5b5c5.tar.gz nng-446beac7d8fe7e2f4cb54dec849a1585d1f5b5c5.tar.bz2 nng-446beac7d8fe7e2f4cb54dec849a1585d1f5b5c5.zip | |
nng/args.h: add header guard
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/args.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nng/args.h b/include/nng/args.h index faaa98b2..632b65e8 100644 --- a/include/nng/args.h +++ b/include/nng/args.h @@ -8,6 +8,9 @@ // found online at https://opensource.org/licenses/MIT. // +#ifndef NNG_ARGS_H +#define NNG_ARGS_H + // This is a relatively simple "command line options parsing" library, used to // parse command line options. We would use getopt(3), but there are // two problems with getopt(3). First, it isn't available on all @@ -161,3 +164,5 @@ nng_args_parse(int argc, char *const *argv, const nng_arg_spec *specs, return (0); } + +#endif // NNG_ARGS_H |
