diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-24 16:26:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-26 12:07:11 +0300 |
commit | a2e27f4f2b849f0095a822be686b9612e727a122 (patch) | |
tree | fd60c1d5b551cd53cd01a60354e4331597810120 /src/apps/qcam/assets/feathericons/arrow-down.svg | |
parent | 885c48028fe2a484844278c1b884f984797e2c5b (diff) |
py: libcamera: Move function declarations to common header
The init_py_*() functions are called by the top-level entry point of the
libcamera Python module to initialize different parts of the bindings.
They are declared in py_main.cpp where they are called, and defined in
separate compilation units. This results in functions being defined
without a corresponding declaration, and will generate warnings when we
enable -Wmissing-declarations.
Fix this by moving the function declarations from py_main.c to
py_main.h, and including py_main.h in the various compilation units that
need it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/assets/feathericons/arrow-down.svg')
0 files changed, 0 insertions, 0 deletions