Mercurial > hg > dmlib
comparison src/dmpack.c @ 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 | c1cae47cd410 |
children |
comparison
equal
deleted
inserted
replaced
2585:ef6c826c5b7a | 2586:9807ae37ad69 |
---|---|
66 | 66 |
67 | 67 |
68 /* | 68 /* |
69 * OPEN a packfile | 69 * OPEN a packfile |
70 */ | 70 */ |
71 int dmPackOpen(const char *filename, DMPackFile ** ppPack, BOOL readOnly) | 71 int dmPackOpen(const char *filename, DMPackFile ** ppPack, bool readOnly) |
72 { | 72 { |
73 unsigned int i; | 73 unsigned int i; |
74 DMPackFile *pack = NULL; | 74 DMPackFile *pack = NULL; |
75 DMPackFileHeader hdr; | 75 DMPackFileHeader hdr; |
76 int ret = DMERR_OK; | 76 int ret = DMERR_OK; |