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
|
@ -78,7 +78,7 @@ static void zip_read(struct zip_file *file, const char *filename, struct divelog
|
|||
(void) parse_xml_buffer(filename, mem.data(), read, log, NULL);
|
||||
}
|
||||
|
||||
extern "C" int try_to_open_zip(const char *filename, struct divelog *log)
|
||||
int try_to_open_zip(const char *filename, struct divelog *log)
|
||||
{
|
||||
int success = 0;
|
||||
/* Grr. libzip needs to re-open the file, it can't take a buffer */
|
||||
|
@ -268,7 +268,7 @@ bool remote_repo_uptodate(const char *filename, struct git_info *info)
|
|||
return false;
|
||||
}
|
||||
|
||||
extern "C" int parse_file(const char *filename, struct divelog *log)
|
||||
int parse_file(const char *filename, struct divelog *log)
|
||||
{
|
||||
struct git_info info;
|
||||
const char *fmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue