]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
admin/build-doc: add optional "_" prefix before function names to match
authorKefu Chai <kchai@redhat.com>
Sun, 15 Mar 2020 03:08:47 +0000 (11:08 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 15 Mar 2020 04:50:45 +0000 (12:50 +0800)
commitc20e074efa2d3b982e5190bc99d1909937df7f9b
tree365b419b43124d21eca3b44390e4945542952b41
parentea67a42f99ca3ed500e8814feebc8ed9c907dd0f
admin/build-doc: add optional "_" prefix before function names to match

as compilers targeting ELF does not add the leading "_" to symbol names,
while clang on OSX always do this.

and remove the underscore from the symbol name when generating the
function name, as the compiler will add it back for us.

Signed-off-by: Kefu Chai <kchai@redhat.com>
admin/build-doc