summaryrefslogtreecommitdiffstats
path: root/src/uca-cam.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-17 11:44:08 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-17 11:44:08 +0100
commit35681d4e1d171117c9d4c2c4fd7d474b5871f81f (patch)
tree9abb180d6e35a961e7e798b08101fef59cab6c18 /src/uca-cam.c
parent5b80e3c687fb2b47b06d9ffe6ac07bec475d812a (diff)
downloaduca-35681d4e1d171117c9d4c2c4fd7d474b5871f81f.tar.gz
uca-35681d4e1d171117c9d4c2c4fd7d474b5871f81f.tar.bz2
uca-35681d4e1d171117c9d4c2c4fd7d474b5871f81f.tar.xz
uca-35681d4e1d171117c9d4c2c4fd7d474b5871f81f.zip
Rename struct_name_t to struct_name and create typedefs
Diffstat (limited to 'src/uca-cam.c')
-rw-r--r--src/uca-cam.c4
1 files changed, 2 insertions, 2 deletions
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;
}