summaryrefslogtreecommitdiff
path: root/test/byte-stream-buffer.cpp
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-03-24 11:33:07 -0700
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-04-17 10:56:03 +0100
commitf4d416db9141e7a7802aac00a87500a524c11e37 (patch)
treeaace33a40cc5e2f42af66e2f05edc2e0b6c1b8fc /test/byte-stream-buffer.cpp
parentb2ef255295871fb6246d99bdd5b41aa65e3fc3b2 (diff)
ipu3: Use posix basename
musl does not implement GNU basename extention and with latest musl the prototype from string.h is also removed [1] which now results in compile errors e.g. ../git/utils/ipu3/ipu3-pack.c:21:47: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] These utilities are using this function in usage() which is used just before program exit. Always use the basename APIs from libgen.h which is posix implementation [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 Signed-off-by: Khem Raj <raj.khem@gmail.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/byte-stream-buffer.cpp')
0 files changed, 0 insertions, 0 deletions