diff src/dmargs.h @ 2586:9807ae37ad69

Require stdbool.h, we require C11 now.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Dec 2022 15:59:22 +0200
parents c6ee41fd98dd
children
line wrap: on
line diff
--- a/src/dmargs.h	Thu Dec 08 15:56:36 2022 +0200
+++ b/src/dmargs.h	Thu Dec 08 15:59:22 2022 +0200
@@ -45,10 +45,10 @@
 } DMOptArg;
 
 
-BOOL     dmArgsProcess(int argc, char *argv[],
+bool     dmArgsProcess(int argc, char *argv[],
          const DMOptArg *opts, const int nopts,
-         BOOL (*handle_option)(int id, char *, char *),
-         BOOL (*handle_other)(char *), const int flags);
+         bool (*handle_option)(int id, char *, char *),
+         bool (*handle_other)(char *), const int flags);
 
 void     dmArgsPrintHelp(FILE *fh, const DMOptArg *opts,
          const int nopts, const int flags, const int width);