toxcore/other
iphydf 5b57ab6332
Improve C standard compliance.
- Don't cast between object and function pointers.
- Use standard compliant `__VA_ARGS__` in macros.
- Add explicit `__extension__` on unnamed union in struct (it's a GNU
  extension).
- Remove ; after function definitions.
- Replace `const T foo = 3;` for integral types `T` with `enum { foo = 3 };`.
  Folding integral constants like that as compile time constants is a GNU
  extension. Arrays allocated with `foo` as dimension are VLAs on strictly
  compliant C99 compilers.
- Replace empty initialiser list `{}` with zero-initialiser-list `{0}`.
  The former is a GNU extension meaning the latter.
- Cast `T*` (where `T != void`) to `void *` in format arguments. While any
  object pointer can be implicitly converted to and from `void *`, this
  conversion does not happen in variadic function calls.
- Replace arithmetic on `void *` with arithmetic on `char *`. The former
  is non-compliant.
- Replace non-`int`-derived types (like `uint16_t`, which is
  `short`-derived) in bit fields with `int`-derived types. Using any type
  other than `int` or `unsigned int` (or any of their aliases) in bit
  fields is a GNU extension.
2016-09-06 11:09:10 +01:00
..
apidsl Make friend requests stateless 2016-09-06 02:22:04 -07:00
astyle Add cmake test for apidsl. 2016-08-24 09:41:40 +01:00
bootstrap_daemon Improve C standard compliance. 2016-09-06 11:09:10 +01:00
fun Check code formatting on Travis. 2016-08-12 01:00:00 +01:00
pkgconfig Split toxcore into layers. 2016-08-16 17:36:18 +01:00
travis Move logging to a callback. 2016-08-27 01:16:14 +01:00
bootstrap_node_packets.c Add braces to all if statements. 2016-08-31 20:04:16 +01:00
bootstrap_node_packets.h Put config-related functions in a separate file 2016-01-01 00:19:35 -05:00
DHT_bootstrap.c Improve C standard compliance. 2016-09-06 11:09:10 +01:00
DHTnodes Link changes. 2015-07-07 22:57:11 -04:00
Makefile.inc Put config-related functions in a separate file 2016-01-01 00:19:35 -05:00
osx_build_script_toxcore.sh Move OS X install script 2015-02-03 12:48:15 -05:00
tox.png Added logo in readme to repo. 2013-08-14 12:35:55 -04:00