mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16:58:30 +00:00
Run clang-format on most sources
This commit is contained in:
parent
614229e3f4
commit
369f9740de
228 changed files with 4844 additions and 4637 deletions
|
@ -16,6 +16,7 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "tool/net/lfuncs.h"
|
||||
#include "dsp/scale/cdecimate2xuint8x8.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/struct/rusage.h"
|
||||
|
@ -66,7 +67,6 @@
|
|||
#include "third_party/mbedtls/sha256.h"
|
||||
#include "third_party/mbedtls/sha512.h"
|
||||
#include "third_party/zlib/zlib.h"
|
||||
#include "tool/net/lfuncs.h"
|
||||
|
||||
static int Rdpid(void) {
|
||||
return rdpid();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "tool/net/ljson.h"
|
||||
#include "libc/intrin/bits.h"
|
||||
#include "libc/intrin/likely.h"
|
||||
#include "libc/log/check.h"
|
||||
|
@ -29,7 +30,6 @@
|
|||
#include "third_party/lua/lauxlib.h"
|
||||
#include "third_party/lua/ltests.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
#include "tool/net/ljson.h"
|
||||
|
||||
#define KEY 1
|
||||
#define COMMA 2
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
#define AssertLuaStackIsAt(L, level) \
|
||||
do { \
|
||||
if (lua_gettop(L) > level) { \
|
||||
char *s = LuaFormatStack(L); \
|
||||
WARNF("lua stack should be at %d;" \
|
||||
" extra values ignored:\n%s", \
|
||||
level, s); \
|
||||
free(s); \
|
||||
} \
|
||||
#define AssertLuaStackIsAt(L, level) \
|
||||
do { \
|
||||
if (lua_gettop(L) > level) { \
|
||||
char *s = LuaFormatStack(L); \
|
||||
WARNF("lua stack should be at %d;" \
|
||||
" extra values ignored:\n%s", \
|
||||
level, s); \
|
||||
free(s); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue