genode/repos/base/include/cap_session/cap_session.h
Norman Feske cd3a5852d6 Warn about the use of deprecated headers
This commit enables compile-time warnings displayed whenever a deprecated
API header is included, and adjusts the existing #include directives
accordingly.

Issue #1987
2017-01-31 12:01:18 +01:00

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_ */