summaryrefslogtreecommitdiff
path: root/test/init.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-12-04 23:50:10 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-12-06 16:33:36 +0200
commit0713202dc00df8aa4d2101d923546bff18d51921 (patch)
tree3b6a09591c23e622bd758eea157573651b12eb3b /test/init.cpp
parentb99da21657d4f6bad415a87b82ac0d9c738018e7 (diff)
Add boilerplate headers comments and include guards
The initial main.cpp and libcamera.h files are missing boilerplate header comments. libcamera.h is further missing include guards. Add them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/init.cpp')
-rw-r--r--test/init.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/init.cpp b/test/init.cpp
index 8c8ec9ad..97948b9c 100644
--- a/test/init.cpp
+++ b/test/init.cpp
@@ -1,3 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 2018, Google Inc.
+ *
+ * init.cpp - libcamera initialization test
+ */
+
#include <libcamera/libcamera.h>
int main(void)