diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-10-07 14:06:06 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-10-07 14:06:06 +0000 |
commit | a9740f24324a8e53b2c44af2b3c04d3711e928ac (patch) | |
tree | 1e548bf289f1e1bc32bd4a865e35ceff214f5a39 /include | |
parent | c8473092e07d4ab6b506706c7d8b1bef4c18dca6 (diff) |
Put back ucontext.h, but omit function prototypes for getcontext(),
makecontext(), setcontext(), and swapcontext() which are marked as
obsolescent by SuSv3, and are not implemented by uClibc.
Diffstat (limited to 'include')
-rw-r--r-- | include/ucontext.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/ucontext.h b/include/ucontext.h new file mode 100644 index 000000000..5bd46454e --- /dev/null +++ b/include/ucontext.h @@ -0,0 +1,32 @@ +/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#ifndef _UCONTEXT_H +#define _UCONTEXT_H 1 + +#include <features.h> + +/* Get machine dependent definition of data structures. */ +#include <sys/ucontext.h> + +/* The System V ABI user-level context switching support functions + * are marked obsolescent by SuSv3, and are not implemented by + * uClibc. This header is therefore empty. */ + + +#endif /* ucontext.h */ |