mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
cd3a5852d6
This commit enables compile-time warnings displayed whenever a deprecated API header is included, and adjusts the existing #include directives accordingly. Issue #1987
30 lines
700 B
C++
30 lines
700 B
C++
/*
|
|
* \brief CAP-session interface
|
|
* \author Norman Feske
|
|
* \date 2006-06-23
|
|
*
|
|
* \deprecated
|
|
*
|
|
* This header is scheduled for removal. It exists for API compatiblity only.
|
|
*/
|
|
|
|
#ifndef INCLUDED_BY_ENTRYPOINT_CC
|
|
#warning cap_session/cap_session.h is deprecated
|
|
#endif
|
|
|
|
/*
|
|
* Copyright (C) 2006-2013 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__CAP_SESSION__CAP_SESSION_H_
|
|
#define _INCLUDE__CAP_SESSION__CAP_SESSION_H_
|
|
|
|
#include <pd_session/pd_session.h>
|
|
|
|
namespace Genode { typedef Pd_session Cap_session; }
|
|
|
|
#endif /* _INCLUDE__CAP_SESSION__CAP_SESSION_H_ */
|