mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 04:50:28 +00:00
Perform some code cleanup
This commit is contained in:
parent
cc1732bc42
commit
210187cf77
205 changed files with 1748 additions and 2595 deletions
|
@ -24,14 +24,10 @@
|
|||
#include "libc/macros.internal.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
#ifdef DescribeGidList
|
||||
#undef DescribeGidList
|
||||
#endif
|
||||
|
||||
#define N 128
|
||||
|
||||
const char *DescribeGidList(char buf[N], int rc, int size,
|
||||
const uint32_t list[]) {
|
||||
const char *(DescribeGidList)(char buf[N], int rc, int size,
|
||||
const uint32_t list[]) {
|
||||
if ((rc == -1) || (size < 0)) return "n/a";
|
||||
if (!size) return "{}";
|
||||
if (!list) return "NULL";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue