Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-olivier committed Jul 26, 2024
1 parent ab97eb4 commit f7db706
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
11 changes: 10 additions & 1 deletion src/demangle.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* @file demangle.cpp
*
* @author Martin Olivier <[email protected]>
* @copyright (c) 2024 Martin Olivier
*
* This library is released under MIT license
*/

#include <string>

std::string format_symbol(std::string input);
Expand Down Expand Up @@ -69,4 +78,4 @@ std::string get_demangled_name(const char *symbol) {
return result;
}

#endif
#endif
10 changes: 5 additions & 5 deletions src/symbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* This library is released under MIT license
*/

#include <vector>
#include <string>
#include <algorithm>

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <vector>
#include <string>
#include <algorithm>

std::string get_demangled_name(const char *symbol);

#if (defined(_WIN32) || defined(_WIN64))
Expand Down Expand Up @@ -214,7 +214,7 @@ std::vector<std::string> get_symbols(int fd, bool demangle) {
return result;
}

#else // Linux
#else // Linux

#include <libelf.h>
#include <gelf.h>
Expand Down

0 comments on commit f7db706

Please sign in to comment.