feat: small code optimisations

This commit is contained in:
2022-05-14 16:59:04 +02:00
parent 6d898c07e8
commit e850dabc8b
6 changed files with 13 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ int atexit(void (*)(void));
int atoi(const char *);
char *itoa(int value, char *buffer, int base);
char *itoa(uint32_t value, char *buffer, int base);
char *getenv(const char *);

View File

@@ -7,5 +7,6 @@
#define MIN(a, b) (((a)<(b))?(a):(b))
#define MAX(a, b) (((a)>(b))?(a):(b))
#define DIV_ROUND_UP(a, b) (((a) + ((b) - 1)) / (b))
#endif //NEW_KERNEL_PARAM_H