Use clang-format
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#ifndef _KERNEL_SYS_DEBUG_H
|
||||
#define _KERNEL_SYS_DEBUG_H
|
||||
|
||||
void debugprintf(const char *fmt, ...);
|
||||
void debugprintf (const char* fmt, ...);
|
||||
|
||||
#define DEBUG(fmt, ...) do { \
|
||||
debugprintf("%s: " fmt, __func__, ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
#define DEBUG(fmt, ...) \
|
||||
do { \
|
||||
debugprintf ("%s: " fmt, __func__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#endif // _KERNEL_SYS_DEBUG_H
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define _KERNEL_SYS_MM_H
|
||||
|
||||
#if defined(__x86_64__)
|
||||
#include <amd64/mm.h>
|
||||
#include <amd64/mm.h>
|
||||
#endif
|
||||
|
||||
#endif // _KERNEL_SYS_MM_H
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef _KERNEL_SYS_SPIN_LOCK_H
|
||||
#define _KERNEL_SYS_SPIN_LOCK_H
|
||||
|
||||
void spin_lock_relax(void);
|
||||
void spin_lock_relax (void);
|
||||
|
||||
#endif // _KERNEL_SYS_SPIN_LOCK_H
|
||||
|
||||
Reference in New Issue
Block a user