mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-21 02:36:39 +00:00
[lib][Obvious] Fix style in a few include directives.
This commit is contained in:
parent
a2609be0b2
commit
86bebe1a90
@ -6,7 +6,6 @@ add_loader_object(
|
||||
libc.config.linux.app_h
|
||||
libc.include.sys_syscall
|
||||
libc.src.__support.OSUtil.osutil
|
||||
libc.src.string.memcpy
|
||||
COMPILE_OPTIONS
|
||||
-fno-omit-frame-pointer
|
||||
-ffreestanding # To avoid compiler warnings about calling the main function.
|
||||
|
@ -7,12 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "config/linux/app.h"
|
||||
#include "include/sys/syscall.h"
|
||||
#include "src/__support/OSUtil/syscall.h"
|
||||
|
||||
#include <linux/auxvec.h>
|
||||
#include <linux/elf.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
extern "C" int main(int, char **, char **);
|
||||
|
||||
|
@ -4,6 +4,7 @@ add_loader_object(
|
||||
start.cpp
|
||||
DEPENDS
|
||||
libc.config.linux.app_h
|
||||
libc.include.sys_mman
|
||||
libc.include.sys_syscall
|
||||
libc.src.__support.OSUtil.osutil
|
||||
libc.src.string.memcpy
|
||||
|
@ -7,8 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "config/linux/app.h"
|
||||
#include "include/sys/mman.h"
|
||||
#include "include/sys/syscall.h"
|
||||
#include "src/__support/OSUtil/syscall.h"
|
||||
#include "src/string/memcpy.h"
|
||||
|
||||
@ -16,6 +14,8 @@
|
||||
#include <linux/auxvec.h>
|
||||
#include <linux/elf.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
extern "C" int main(int, char **, char **);
|
||||
|
||||
|
@ -9,10 +9,11 @@
|
||||
#ifndef LLVM_LIBC_SRC_SUPPORT_OSUTIL_LINUX_IO_H
|
||||
#define LLVM_LIBC_SRC_SUPPORT_OSUTIL_LINUX_IO_H
|
||||
|
||||
#include "include/sys/syscall.h" // For syscall numbers.
|
||||
#include "src/string/string_utils.h"
|
||||
#include "syscall.h" // For internal syscall function.
|
||||
|
||||
#include <sys/syscall.h> // For syscall numbers.
|
||||
|
||||
namespace __llvm_libc {
|
||||
|
||||
static inline void write_to_stderr(const char *msg) {
|
||||
|
@ -9,9 +9,10 @@
|
||||
#ifndef LLVM_LIBC_SRC_SUPPORT_OSUTIL_LINUX_QUICK_EXIT_H
|
||||
#define LLVM_LIBC_SRC_SUPPORT_OSUTIL_LINUX_QUICK_EXIT_H
|
||||
|
||||
#include "include/sys/syscall.h" // For syscall numbers.
|
||||
#include "syscall.h" // For internal syscall function.
|
||||
|
||||
#include <sys/syscall.h> // For syscall numbers.
|
||||
|
||||
namespace __llvm_libc {
|
||||
|
||||
static inline void quick_exit(int status) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user