Sponsored by: The FreeBSD Foundation
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
It's quite hard to review this without context lines. Did you import virtual_oss into src, or?
| virtual_main.c | ||
|---|---|---|
| 1632 | Better to use sig_atomic_t instead of int. | |
Comment Actions
I didn't. I just posted the diffs here manually without choosing a repo, but I forgot you need to generate them with git diff -U999999, so I just generated them with git format-patch.
| virtual_main.c | ||
|---|---|---|
| 1632 | I only chose int to avoid including signal.h in the header file. But I see that sig_atomic_t is defined as either int or long. | |
| virtual_main.c | ||
|---|---|---|
| 1632 | What's wrong with including signal.h in an internal header file? | |