MFC after: 1 week
Inspired by: NetBSD
Details
Details
- Reviewers
olce kib - Commits
- rG823d00b2d447: libc: Constify the getcap API
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 73460 Build 70343: arc lint + arc unit
Event Timeline
Comment Actions
* (indicating pointers) should preferably be stuck onto the next token without intervening spaces everywhere, e.g.: const char * const *db_array => const char *const *db_array, because in a declaration the presence of the first * delimits the declarator list, which means that what is after the first * is specific to the variable being declared, and not to the next one in the list (that's IMO why that's the common practice for a single *).
Otherwise, looks good.
Comment Actions
The style I'm using here is the established style in our code base, see for instance fts(3), nv(9), strerror(3).