Commits
- Commit:
2aeddf9c1b0f33b94a01a0c307e3408b89e746c5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
emit a dummy NUL byte on empty files
an empty initializer, such as
uint8_t foo[] = { };
raises a warning: "use of GNU empty initializer extension" using
-pedantic. This adds a dummy NUL byte that's not accounted in the len
counter. So, now it produces:
uint8_t foo[] = { 0x0 };
size_t foo_len = 0;
- Commit:
ed84beb94ed56dbc810ebc7323e2458c26287c09
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't add trailing NUL byte
plus some doc improvements and a missing return
- Commit:
de6548b97dff8ce3a011f93e007254cd9f01b8ec
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added missing include
thanks Ben for noticing it!
- Commit:
a2728733634103e8460cf0d47c151e2642e7cbc4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move built-in pages to pages/*.gmi