summaryrefslogtreecommitdiff
path: root/xmlwf/filemap.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2019-11-24 23:46:29 +0000
committerXin LI <delphij@FreeBSD.org>2019-11-24 23:46:29 +0000
commit987ba809b8add6260181a8c036ec3c017948ff56 (patch)
tree2b55c0f784f511cf1deffd7800cef1f16aab1c55 /xmlwf/filemap.h
parent77c85705a616126682be274fd54e9c4308083501 (diff)
Notes
Diffstat (limited to 'xmlwf/filemap.h')
-rw-r--r--xmlwf/filemap.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/xmlwf/filemap.h b/xmlwf/filemap.h
index 5487a4ebe50b2..ef66114422f39 100644
--- a/xmlwf/filemap.h
+++ b/xmlwf/filemap.h
@@ -30,10 +30,9 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <limits.h> /* INT_MAX */
+#include <limits.h> /* INT_MAX */
#include <stddef.h>
-
/* The following limit (for XML_Parse's int len) derives from
* this loop in xmparse.c:
*
@@ -41,17 +40,14 @@
* bufferSize = (int) (2U * (unsigned) bufferSize);
* } while (bufferSize < neededSize && bufferSize > 0);
*/
-#define XML_MAX_CHUNK_LEN (INT_MAX / 2 + 1)
-
+#define XML_MAX_CHUNK_LEN (INT_MAX / 2 + 1)
#ifdef XML_UNICODE
int filemap(const wchar_t *name,
- void (*processor)(const void *, size_t,
- const wchar_t *, void *arg),
+ void (*processor)(const void *, size_t, const wchar_t *, void *arg),
void *arg);
#else
int filemap(const char *name,
- void (*processor)(const void *, size_t,
- const char *, void *arg),
+ void (*processor)(const void *, size_t, const char *, void *arg),
void *arg);
#endif