aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 06:16:31 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 06:59:24 -0300
commitab49eda5720583b0470a329434554e97c735e696 (patch)
tree01dd96abb868c597d9c16023c7feefaacda9ef84 /src/fileio.h
parent39b0f779f454e7c4c58cc68352998e7f5ed7ab99 (diff)
Rename camera struct typedef from cam to cam_t
Depending on the gcc options, that causes a fatal warning: v4l.c:36:37: error: declaration of ‘cam’ shadows a global declaration [-Werror=shadow] static void insert_resolution(cam * cam, int x, int y) ~~~~~~^~~ In file included from v4l.c:6: v4l.h:99:3: note: shadowed declaration is here } cam; ^~~ Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/fileio.h')
-rw-r--r--src/fileio.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fileio.h b/src/fileio.h
index 9aa8688..8b34894 100644
--- a/src/fileio.h
+++ b/src/fileio.h
@@ -1,9 +1,9 @@
#include "v4l.h"
int add_rgb_text (guchar *, int, int, char *, char *, gboolean, gboolean);
-void remote_save (cam *);
-void save_thread (cam *);
-int local_save (cam *);
+void remote_save (cam_t *);
+void save_thread (cam_t *);
+int local_save (cam_t *);
gchar *volume_uri(gchar *host, gchar *proto, gchar *rdir);
-void umount_volume(cam *);
-void mount_volume (cam *);
+void umount_volume(cam_t *);
+void mount_volume (cam_t *);

Privacy Policy