Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/libappimage/utils/light_elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

#include <inttypes.h>

__BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif

typedef uint16_t Elf32_Half;
typedef uint16_t Elf64_Half;
Expand Down Expand Up @@ -114,6 +116,8 @@ typedef struct elf32_note {
#define EI_CLASS 4
#define EI_DATA 5

__END_DECLS
#ifdef __cplusplus
}
#endif

#endif /* elf.h */
8 changes: 6 additions & 2 deletions src/libappimage_shared/light_elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

#include <inttypes.h>

__BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif

typedef uint16_t Elf32_Half;
typedef uint16_t Elf64_Half;
Expand Down Expand Up @@ -114,6 +116,8 @@ typedef struct elf32_note {
#define EI_CLASS 4
#define EI_DATA 5

__END_DECLS
#ifdef __cplusplus
}
#endif

#endif /* elf.h */