portability: Avoid void* arithmetics which is a GNU extension

Under GNU C, sizeof(void) = 1. This commit simply uses uint8_t.

Pointer arithmetics over void types is:
 * A GNU C extension
 * Not supported by Clang
 * Illegal across all ISO C standards

See also: https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html

Signed-off-by: Mark Ruvald Pedersen <mped@oticon.com>
1 file changed
tree: 39f18f076b3ce65feaa67e1fa9e96041fef25a0a
  1. include/
  2. src/
  3. test/
  4. design.txt
  5. pkg.yml
  6. README.md
  7. syscfg.yml
README.md

Overview

The Newtron Flash File System (NFFS) is a flash file system with the following priorities:

  • Minimal RAM usage
  • Reliability

RTOS support

NFFS currently supports the following operating systems:

Repository

The source code for NFFS lives in the following repository on GitHub:

All changes to the NFFS codebase should be submitted as Pull Request to the repository above.

Issues

Issues must be reported to the Mynewt Jira: https://issues.apache.org/jira/projects/MYNEWT Use the ‘NFFS’ component when reporting bug against the Apache Mynewt project.