diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-12-04 23:50:10 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-12-06 16:33:36 +0200 |
commit | 0713202dc00df8aa4d2101d923546bff18d51921 (patch) | |
tree | 3b6a09591c23e622bd758eea157573651b12eb3b /include | |
parent | b99da21657d4f6bad415a87b82ac0d9c738018e7 (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 'include')
-rw-r--r-- | include/libcamera/libcamera.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libcamera/libcamera.h b/include/libcamera/libcamera.h index d5b34a2c..64857326 100644 --- a/include/libcamera/libcamera.h +++ b/include/libcamera/libcamera.h @@ -1,5 +1,16 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Copyright (C) 2018, Google Inc. + * + * libcamera.h - libcamera public API + */ +#ifndef __LIBCAMERA_LIBCAMERA_H__ +#define __LIBCAMERA_LIBCAMERA_H__ + class libcamera { public: void init_lib(void); }; + +#endif /* __LIBCAMERA_LIBCAMERA_H__ */ |