diff options
Diffstat (limited to 'tools/o2narc/o2narc.cpp')
-rw-r--r-- | tools/o2narc/o2narc.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/o2narc/o2narc.cpp b/tools/o2narc/o2narc.cpp index 6fc82a4e..1b023640 100644 --- a/tools/o2narc/o2narc.cpp +++ b/tools/o2narc/o2narc.cpp @@ -8,16 +8,9 @@ using namespace std; -static Elf32_Sym NullSym { - .st_name = -1u, - .st_value = -1u, - .st_size = 0 -}; +static Elf32_Sym NullSym { 0 }; -static Elf32_Shdr NullShdr { - .sh_name = -1u, - .sh_offset = -1u -}; +static Elf32_Shdr NullShdr { 0 }; class Symtab : public vector<Elf32_Sym> { public: |