diff options
-rw-r--r-- | simple-cam.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp index 1a60602..ff7b440 100644 --- a/simple-cam.cpp +++ b/simple-cam.cpp @@ -16,8 +16,8 @@ #define TIMEOUT_SEC 3 using namespace libcamera; -std::shared_ptr<Camera> camera; -EventLoop loop; +static std::shared_ptr<Camera> camera; +static EventLoop loop; /* * -------------------------------------------------------------------- |