mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16:58:30 +00:00
Run clang-format (#1197)
This commit is contained in:
parent
ea081b262c
commit
f032b5570b
183 changed files with 1074 additions and 983 deletions
|
@ -16,10 +16,10 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "tool/decode/lib/disassemblehex.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/str/tab.internal.h"
|
||||
#include "tool/decode/lib/disassemblehex.h"
|
||||
|
||||
static size_t countzeroes(const uint8_t *data, size_t size) {
|
||||
size_t i;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef COSMOPOLITAN_TOOL_DECODE_LIB_DISASSEMBLEHEX_H_
|
||||
#define COSMOPOLITAN_TOOL_DECODE_LIB_DISASSEMBLEHEX_H_
|
||||
|
||||
#include "libc/stdio/stdio.h"
|
||||
|
||||
#define kDisassembleHexColumns 8
|
||||
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "tool/decode/lib/elfidnames.h"
|
||||
#include "libc/elf/def.h"
|
||||
#include "libc/elf/elf.h"
|
||||
#include "tool/decode/lib/elfidnames.h"
|
||||
|
||||
const struct IdName kElfTypeNames[] = {
|
||||
{ET_NONE, "ET_NONE"},
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/nt/enum/fileflagandattributes.h"
|
||||
#include "tool/decode/lib/ntfileflagnames.h"
|
||||
#include "libc/nt/enum/fileflagandattributes.h"
|
||||
|
||||
const struct IdName kNtFileFlagNames[] = {
|
||||
{kNtFileAttributeReadonly, "kNtFileAttributeReadonly"},
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/nt/pedef.internal.h"
|
||||
#include "tool/decode/lib/peidnames.h"
|
||||
#include "libc/nt/pedef.internal.h"
|
||||
|
||||
const struct IdName kNtImageFileMachineNames[] = {
|
||||
{kNtImageFileMachineUnknown, "kNtImageFileMachineUnknown"},
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "tool/decode/lib/titlegen.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "tool/decode/lib/titlegen.h"
|
||||
|
||||
const struct Modeline kModelineAsm = {
|
||||
" mode:asm; indent-tabs-mode:t; tab-width:8; coding:utf-8 ",
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "tool/decode/lib/zipnames.h"
|
||||
#include "libc/nt/enum/fileflagandattributes.h"
|
||||
#include "libc/zip.internal.h"
|
||||
#include "tool/decode/lib/zipnames.h"
|
||||
|
||||
const struct IdName kZipCompressionNames[] = {
|
||||
{kZipCompressionNone, "kZipCompressionNone"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue