Skip to content

Commit

Permalink
cleanup deprecated.h header files
Browse files Browse the repository at this point in the history
Add a comment that they are empty on purpose. They are not removed to
keep the infrastructure in case there will be deprecated items in the
future.

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h authored and kent-mcleod committed Oct 3, 2022
1 parent 481ce9d commit 6e1bb9d
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
6 changes: 1 addition & 5 deletions libsel4/arch_include/arm/sel4/arch/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@

#pragma once

#include <autoconf.h>
#include <sel4/macros.h>
#include <sel4/sel4_arch/deprecated.h>


/* nothing here */
1 change: 1 addition & 0 deletions libsel4/arch_include/riscv/sel4/arch/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@

#pragma once

/* nothing here */
5 changes: 1 addition & 4 deletions libsel4/arch_include/x86/sel4/arch/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@

#pragma once

#include <autoconf.h>
#include <sel4/macros.h>
#include <sel4/sel4_arch/deprecated.h>

/* nothing here */
6 changes: 3 additions & 3 deletions libsel4/include/sel4/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

#pragma once

#include <sel4/macros.h>
/* This header collects deprecated items that are no longer part of sel4.h. */

#include <sel4/sel4.h>
#include <sel4/arch/deprecated.h>
#include <sel4/sel4_arch/deprecated.h>

Expand Down Expand Up @@ -126,5 +128,3 @@ static inline SEL4_DEPRECATED("Use seL4_CNode_CapData_new().words[0]") seL4_Word
{
return seL4_CNode_CapData_new(guard, bits).words[0];
}


Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/

#pragma once
#pragma once

/* nothing here */
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once

#pragma once

/* nothing here */
2 changes: 2 additions & 0 deletions libsel4/sel4_arch_include/riscv64/sel4/sel4_arch/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
*/

#pragma once

/* nothing here */
5 changes: 1 addition & 4 deletions libsel4/sel4_arch_include/x86_64/sel4/sel4_arch/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@

#pragma once

#include <autoconf.h>
#include <sel4/types.h>
#include <sel4/arch/syscalls.h>

/* nothing here */

0 comments on commit 6e1bb9d

Please sign in to comment.