mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build: remove extern "C" linkage
No more C source files, no more necessity to use C-linkage. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
03b910ee7f
commit
b56dd13add
104 changed files with 364 additions and 577 deletions
|
@ -1850,12 +1850,12 @@ static int load_dives_from_tree(git_repository *repo, git_tree *tree, struct git
|
|||
return 0;
|
||||
}
|
||||
|
||||
extern "C" void clear_git_id(void)
|
||||
void clear_git_id(void)
|
||||
{
|
||||
saved_git_id.clear();
|
||||
}
|
||||
|
||||
extern "C" void set_git_id(const struct git_oid *id)
|
||||
void set_git_id(const struct git_oid *id)
|
||||
{
|
||||
char git_id_buffer[GIT_OID_HEXSZ + 1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue