diff src/dmfile.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 6b1f41ca300a
children
line wrap: on
line diff
--- a/src/dmfile.h	Thu Dec 08 15:56:36 2022 +0200
+++ b/src/dmfile.h	Thu Dec 08 15:59:22 2022 +0200
@@ -17,18 +17,18 @@
 /* Plain file endianess functions
  */
 #define DM_DEFINE_FFUNC(xname, xtype, z)          \
-BOOL    dm_fread_ ## xname (FILE *f, xtype *v);  \
-BOOL    dm_fwrite_ ## xname (FILE *f, const xtype v);
+bool    dm_fread_ ## xname (FILE *f, xtype *v);  \
+bool    dm_fwrite_ ## xname (FILE *f, const xtype v);
 
 #include "dmfiletmpl.h"
 
 #undef DM_DEFINE_FFUNC
 
-BOOL    dm_fread_str(FILE *f, void *, const size_t);
-BOOL    dm_fwrite_str(FILE *f, const void *, const size_t);
+bool    dm_fread_str(FILE *f, void *, const size_t);
+bool    dm_fwrite_str(FILE *f, const void *, const size_t);
 
-BOOL    dm_fread_byte(FILE *f, Uint8 *);
-BOOL    dm_fwrite_byte(FILE *f, const Uint8);
+bool    dm_fread_byte(FILE *f, Uint8 *);
+bool    dm_fwrite_byte(FILE *f, const Uint8);
 
 
 int     dmWriteDataFile(FILE *outFile, const char *filename, const Uint8 *buf, const size_t bufSize);