Commit Briefs

Omar Polo

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;



Omar Polo

add about:license


Omar Polo

added missing copyright header



Omar Polo

don't add trailing NUL byte

plus some doc improvements and a missing return


Omar Polo

added missing include

thanks Ben for noticing it!



Omar Polo

add a human-readable title



Omar Polo

dropping unused prototype




Omar Polo

hardcode version number for now