summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radicale/po/de/radicale.po
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2024-03-06 00:09:20 -0800
committerTony Ambardar <itugrok@yahoo.com>2024-03-06 00:26:29 -0800
commit8b08b48df99c42918ab443dea29bd42652abed36 (patch)
treebb86c9f510e1863dd210fb45548326407e0338f4 /applications/luci-app-radicale/po/de/radicale.po
parentf630f2241c8807a18c1d5bf1e7e286b3dd6a97f8 (diff)
rpcd-mod-luci: use standard POSIX header for basename()
The musl libc only implements POSIX basename() but provided a GNU header kludge in <string.h>, which was removed in musl 1.2.5 [1]. Use the standard <libgen.h> header to avoid compilation errors like: luci.c: In function 'rpc_luci_parse_network_device_sys': luci.c:676:53: error: implicit declaration of function 'basename' [-Werror=implicit-function-declaration] 676 | blobmsg_add_string(&blob, "master", basename(link)); | ^~~~~~~~ luci.c:676:53: error: passing argument 3 of 'blobmsg_add_string' makes pointer from integer without a cast [-Werror=int-conversion] 676 | blobmsg_add_string(&blob, "master", basename(link)); | ^~~~~~~~~~~~~~ | | | int ... cc1: all warnings being treated as errors Link 1: https://git.musl-libc.org/cgit/musl/log/?qt=grep&q=basename Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'applications/luci-app-radicale/po/de/radicale.po')
0 files changed, 0 insertions, 0 deletions