diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-25 14:48:30 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-25 14:48:30 +0100 |
commit | 40e9edd79811c7cf23aafbf8b1a85db3355a3176 (patch) | |
tree | dae72747fbf14f7d400e099732a66f695296ee95 /Libraries | |
parent | 6c9a6bea1ec050d37280c32e3a8521f215a4d46e (diff) | |
download | serenity-40e9edd79811c7cf23aafbf8b1a85db3355a3176.zip |
LibELF: Move AuxiliaryValue into the ELF namespace
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibELF/AuxiliaryVector.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Libraries/LibELF/AuxiliaryVector.h b/Libraries/LibELF/AuxiliaryVector.h index b47731c58d..57194f631e 100644 --- a/Libraries/LibELF/AuxiliaryVector.h +++ b/Libraries/LibELF/AuxiliaryVector.h @@ -26,6 +26,9 @@ #pragma once +#include <AK/String.h> +#include <AK/Types.h> + /* Auxiliary Vector types, from Intel386 ABI ver 1.0 section 2.3.3 */ typedef struct { @@ -63,9 +66,7 @@ typedef struct #define AT_EXE_BASE 32 /* a_ptr holds base address where main program was loaded into memory */ #define AT_EXE_SIZE 33 /* a_val holds the size of the main program in memory */ -#ifdef __cplusplus -# include <AK/String.h> -# include <AK/Types.h> +namespace ELF { struct AuxiliaryValue { enum Type { @@ -117,4 +118,4 @@ struct AuxiliaryValue { String optional_string; }; -#endif /* __cplusplus */ +} |