mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 09:06:32 +00:00
解决printk中的私有函数没有加static的问题
This commit is contained in:
@ -1,7 +1,13 @@
|
||||
#pragma once
|
||||
#include <stdarg.h>
|
||||
#include <common/printk.h>
|
||||
|
||||
#define SEEK_SET 0 /* Seek relative to start-of-file */
|
||||
#define SEEK_CUR 1 /* Seek relative to current position */
|
||||
#define SEEK_END 2 /* Seek relative to end-of-file */
|
||||
|
||||
#define SEEK_MAX 3
|
||||
|
||||
extern int vsprintf(char *buf, const char *fmt, va_list args);
|
||||
|
||||
extern int sprintk(char *buf, const char *fmt, ...);
|
Reference in New Issue
Block a user