feat: reformatted code base to be more standard
This commit is contained in:
11
include/sys/param.h
Normal file
11
include/sys/param.h
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Created by rick on 10-03-21.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_PARAM_H
|
||||
#define NEW_KERNEL_PARAM_H
|
||||
|
||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
|
||||
#endif //NEW_KERNEL_PARAM_H
|
||||
16
include/sys/types.h
Normal file
16
include/sys/types.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* types.h
|
||||
*
|
||||
* Created on: Nov 1, 2018
|
||||
* Author: rick
|
||||
*/
|
||||
|
||||
#ifndef KERNEL_LIBC_TYPES_H_
|
||||
#define KERNEL_LIBC_TYPES_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
typedef int pid_t;
|
||||
|
||||
#endif /* KERNEL_LIBC_TYPES_H_ */
|
||||
Reference in New Issue
Block a user