]> git.ipfire.org Git - thirdparty/lldpd.git/commit
build: Fix macos compile warning on macos >= 12
authorPaul Donald <newtwen+github@gmail.com>
Wed, 26 Mar 2025 01:12:43 +0000 (02:12 +0100)
committerVincent Bernat <vincent@bernat.ch>
Thu, 27 Mar 2025 14:05:59 +0000 (15:05 +0100)
commit94c73ac0a5ca4e5f6eb8968ddb02d1e487daddd6
tree33b91c9eb3ea9eb158c9a6965ebbb0e10e4e5cc6
parent78e04fe5e31f5ec8e0cc88c999a5753136bb8f37
build: Fix macos compile warning on macos >= 12

dmi-osx.c:37:40: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
        service = IOServiceGetMatchingService(kIOMasterPortDefault, matching);
                                              ^~~~~~~~~~~~~~~~~~~~
                                              kIOMainPortDefault
src/daemon/dmi-osx.c