mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
f2f4bf5aab
Convert files to use SPDX header. All files are licensed under the GPLv2. Signed-off-by: Alex Dewar <alex.dewar@gmx.co.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
23 lines
582 B
C
23 lines
582 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
|
|
*/
|
|
|
|
#ifndef __KERN_H__
|
|
#define __KERN_H__
|
|
|
|
/* These are all user-mode things which are convenient to call directly
|
|
* from kernel code and for which writing a wrapper is too much of a pain.
|
|
* The regular include files can't be included because this file is included
|
|
* only into kernel code, and user-space includes conflict with kernel
|
|
* includes.
|
|
*/
|
|
|
|
extern int printf(const char *fmt, ...);
|
|
extern void *sbrk(int increment);
|
|
extern int pause(void);
|
|
extern void exit(int);
|
|
|
|
#endif
|
|
|