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
|
@ -528,7 +528,7 @@ static bool parseASF(QFile &f, metadata *metadata)
|
|||
return false;
|
||||
}
|
||||
|
||||
extern "C" mediatype_t get_metadata(const char *filename_in, metadata *data)
|
||||
mediatype_t get_metadata(const char *filename_in, metadata *data)
|
||||
{
|
||||
data->timestamp = 0;
|
||||
data->duration.seconds = 0;
|
||||
|
@ -561,7 +561,7 @@ extern "C" mediatype_t get_metadata(const char *filename_in, metadata *data)
|
|||
return res;
|
||||
}
|
||||
|
||||
extern "C" timestamp_t picture_get_timestamp(const char *filename)
|
||||
timestamp_t picture_get_timestamp(const char *filename)
|
||||
{
|
||||
struct metadata data;
|
||||
get_metadata(filename, &data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue