diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-12-10 13:48:15 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-04-03 13:56:10 +0700 |
commit | 0e1a80952524e672ce8ce5eb900740dda2ae9044 (patch) | |
tree | 4ceef54b377004b18f1da8986f9393203aea8992 /src/cam/options.cpp | |
parent | abda899fa920ee891e3c6f1b8da79bd77eb28784 (diff) |
libcamera: utils: Use internal basename implementation.
Differing implementations of basename() exist, some of which may modify
the content of the string passed as an argument.
The implementation of basename() is trivial, thus to support different
C librariese, provide our own version which accepts and returns a const
char *.
Update the call sites to use the new implementation.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/options.cpp')
0 files changed, 0 insertions, 0 deletions