Skip to content
  • Davi Arnaut's avatar
    5dec0c96
    Bug#53445: Build with -Wall and fix warnings that it generates · 5dec0c96
    Davi Arnaut authored
    Fix various mismatches between function's language linkage. Any
    particular function that is declared in C++ but should be callable
    from C must have C linkage. Note that function types with different
    linkages are also distinct. Thus, if a function type is declared in
    C code, it will have C linkage (same if declared in a extern "C"
    block).
    5dec0c96
    Bug#53445: Build with -Wall and fix warnings that it generates
    Davi Arnaut authored
    Fix various mismatches between function's language linkage. Any
    particular function that is declared in C++ but should be callable
    from C must have C linkage. Note that function types with different
    linkages are also distinct. Thus, if a function type is declared in
    C code, it will have C linkage (same if declared in a extern "C"
    block).
Loading