Nits to have tests pass

This commit is contained in:
cpq committed 2021-05-12 09:25:21 +01:00
1 parent 2b836504ab
commit a98e980c8f
7 files changed
+12 -16

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
#include "config.h" // Must go first - important for test++
#include "util.h"
#include "config.h"
#if MG_ENABLE_FS
int mg_stat(const char *path, mg_stat_t *st) {
@@ -84,7 +85,7 @@ bool mg_file_printf(const char *path, const char *fmt, ...) {
if (buf != tmp) free(buf);
return result;
}
#endif
#endif // MG_ENABLE_FS
void mg_random(void *buf, size_t len) {
bool done = false;