Use unified header file ulib.h
This commit is contained in:
25
ulib/ulib.h
Normal file
25
ulib/ulib.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#ifndef ULIB_ULIB_H_
|
||||||
|
#define ULIB_ULIB_H_
|
||||||
|
|
||||||
|
#include <ansiq/all.h>
|
||||||
|
#include <args/args.h>
|
||||||
|
#include <dlmalloc/malloc.h>
|
||||||
|
#include <string/string.h>
|
||||||
|
#include <string/char.h>
|
||||||
|
#include <sync/spinlock.h>
|
||||||
|
#include <syscall/syscall.h>
|
||||||
|
#include <system/system.h>
|
||||||
|
#include <util/util.h>
|
||||||
|
#include <uprintf.h>
|
||||||
|
#include <linklist.h>
|
||||||
|
#include <log.h>
|
||||||
|
|
||||||
|
#include <errors.h>
|
||||||
|
#include <sysdefs/ioctl.h>
|
||||||
|
#include <sysdefs/ipcpipe.h>
|
||||||
|
#include <sysdefs/mman.h>
|
||||||
|
#include <sysdefs/processctl.h>
|
||||||
|
#include <sysdefs/sched.h>
|
||||||
|
#include <sysdefs/syscall.h>
|
||||||
|
|
||||||
|
#endif // ULIB_ULIB_H_
|
@ -1,14 +1,5 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string/string.h>
|
#include <ulib.h>
|
||||||
#include <system/system.h>
|
|
||||||
#include <sysdefs/ipcpipe.h>
|
|
||||||
#include <sysdefs/processctl.h>
|
|
||||||
#include <uprintf.h>
|
|
||||||
#include <ansiq/all.h>
|
|
||||||
#include <string/char.h>
|
|
||||||
#include <util/util.h>
|
|
||||||
#include <dlmalloc/malloc.h>
|
|
||||||
#include <errors.h>
|
|
||||||
|
|
||||||
uint64_t PID;
|
uint64_t PID;
|
||||||
|
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <system/system.h>
|
#include <ulib.h>
|
||||||
#include <sysdefs/processctl.h>
|
|
||||||
#include <util/util.h>
|
|
||||||
#include <errors.h>
|
|
||||||
#include <uprintf.h>
|
|
||||||
#include <string/string.h>
|
|
||||||
#include <dlmalloc/malloc.h>
|
|
||||||
#include <args/args.h>
|
|
||||||
#include "ls.h"
|
#include "ls.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <uprintf.h>
|
#include <ulib.h>
|
||||||
#include <args/args.h>
|
|
||||||
#include <string/string.h>
|
|
||||||
#include "ls.h"
|
#include "ls.h"
|
||||||
|
|
||||||
void main(void) {
|
void main(void) {
|
||||||
|
@ -1,15 +1,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <util/util.h>
|
#include <ulib.h>
|
||||||
#include <string/string.h>
|
|
||||||
#include <string/char.h>
|
|
||||||
#include <linklist.h>
|
|
||||||
#include <dlmalloc/malloc.h>
|
|
||||||
#include <system/system.h>
|
|
||||||
#include <sysdefs/processctl.h>
|
|
||||||
#include <sysdefs/ipcpipe.h>
|
|
||||||
#include <uprintf.h>
|
|
||||||
#include <errors.h>
|
|
||||||
#include "interp.h"
|
#include "interp.h"
|
||||||
#include "runtime.h"
|
#include "runtime.h"
|
||||||
|
|
||||||
|
@ -1,18 +1,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <uprintf.h>
|
#include <ulib.h>
|
||||||
#include <args/args.h>
|
|
||||||
#include <string/string.h>
|
|
||||||
#include <string/char.h>
|
|
||||||
#include <log.h>
|
|
||||||
#include <ansiq/all.h>
|
|
||||||
#include <system/system.h>
|
|
||||||
#include <sysdefs/ipcpipe.h>
|
|
||||||
#include <sysdefs/ioctl.h>
|
|
||||||
#include <sysdefs/processctl.h>
|
|
||||||
#include <dlmalloc/malloc.h>
|
|
||||||
#include <errors.h>
|
|
||||||
#include <util/util.h>
|
|
||||||
#include "interp.h"
|
#include "interp.h"
|
||||||
|
|
||||||
// keys
|
// keys
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <linklist.h>
|
#include <ulib.h>
|
||||||
#include <dlmalloc/malloc.h>
|
|
||||||
#include <string/string.h>
|
|
||||||
#include <uprintf.h>
|
|
||||||
#include "runtime.h"
|
#include "runtime.h"
|
||||||
#include "interp.h"
|
#include "interp.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user