summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/stream_on_off.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-24 16:26:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-26 12:07:11 +0300
commit37d81a390b400ac1be2d57dda9f3e63748855971 (patch)
tree4c3fe1063b1708d4ab8b3061af28926cdc9ac2d2 /test/v4l2_videodevice/stream_on_off.cpp
parentcdb05b37123c5b9b2416fc34b8e21f087603bb2e (diff)
apps: Define local functions in anonymous namespace
Multiple local functions are defined in the global namespace without the static keyword. This compiles fine for now, but will cause a missing declaration warning when we enable them. To prepare for that, move the function declaration to an anonymous namespace. While at it, for consistency, include an existing static function in the namespace and drop the static keyword. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/stream_on_off.cpp')
0 files changed, 0 insertions, 0 deletions