mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
17c8f50f44
Missed a few of those in check-c. check-cimple now catches these with a stronger type check. Other changes: * `ptr + int` must always have the `ptr` first, so `int + ptr` is not allowed anymore. * `close` and `time` were shadowing libc functions. `file_data` was shadowed in a function (and is not a good function name anyway), so renamed to `send_file_data` which is more descriptive. * Within a function, all local variables of the same name must have the same type. * The `strerror_r` change wasn't necessary, but I kept it because it seems a bit clearer to me now. `#ifdef`s inside functions are a bit confusing sometimes.
2 lines
96 B
Plaintext
2 lines
96 B
Plaintext
d69f99a7aa2e9290024b1dea3443fbfe9bfbaba444db5ccace5df2d88f15300a /usr/local/bin/tox-bootstrapd
|