Commit Graph

3 Commits

Author SHA1 Message Date
Xiang Xiao
6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Gregory Nutt
a1304f494a tools/lowhex.c: Fix an initialization problem that was causing some odd behavior at the beginning of lines. 2019-02-07 11:28:04 -06:00
Gregory Nutt
fc744fb9b1 tools/: Add detab.c which will convert all tabs in a file to spaces. Add lowhex.c that will convert hexadecimal constants in a file to use lower case representation. 2018-12-03 08:45:05 -06:00