diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-04 15:26:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-04 17:05:41 -0300 |
commit | 657069d8da19cd1f35103bc233dd8e6a44224ceb (patch) | |
tree | 7d4a686b4ce825aa745043a49a3106f103eb8c10 /src/support.h | |
parent | 778a02eb5e31039bb0c23d3eabbab5963f45c90c (diff) |
Unify coding style
The coding style of Camorama is a mess. It doesn't consistently
follow the same style. Unify it by applying a coding style
close to the Linux Kernel. There is an exception, however:
here, we'll use indent with 4, and won't use tabs.
Rationale for using the Kernel style:
1) The checkpatch.pl script there can do lots of cleanups;
2) There used to be a lindent line (with I still have here),
with do several other style cleanups.
So, most of the changes can happen on a more automatic way.
Still, care should be taken with static constants, as Kernel
initializes them with zeros, while userspace don't.
Accidentally, I'm more familiar with this style, with makes
easier for me to contribute :-D
No functional changes.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/support.h')
-rw-r--r-- | src/support.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support.h b/src/support.h index 8545271..2b0f400 100644 --- a/src/support.h +++ b/src/support.h @@ -1,4 +1,4 @@ #include "v4l.h" -GtkWidget *xpm_label_box (gchar *); -int error_dialog (char *); +GtkWidget * xpm_label_box(gchar *); +int error_dialog(char *); |