From 35681d4e1d171117c9d4c2c4fd7d474b5871f81f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 17 Mar 2011 11:44:08 +0100 Subject: Rename struct_name_t to struct_name and create typedefs --- src/uca-cam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uca-cam.c') diff --git a/src/uca-cam.c b/src/uca-cam.c index 7c351d1..eb76fad 100644 --- a/src/uca-cam.c +++ b/src/uca-cam.c @@ -4,7 +4,7 @@ #include "uca-cam.h" #include "uca-grabber.h" -uint32_t uca_cam_alloc(struct uca_camera_t *cam, uint32_t n_buffers) +uint32_t uca_cam_alloc(struct uca_camera *cam, uint32_t n_buffers) { uint32_t bitdepth; cam->get_property(cam, UCA_PROP_BITDEPTH, &bitdepth, 0); @@ -14,7 +14,7 @@ uint32_t uca_cam_alloc(struct uca_camera_t *cam, uint32_t n_buffers) return UCA_NO_ERROR; } -enum uca_cam_state uca_cam_get_state(struct uca_camera_t *cam) +enum uca_cam_state uca_cam_get_state(struct uca_camera *cam) { return cam->state; } -- cgit v1.2.3