diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 16:14:18 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 16:14:18 +0100 |
commit | 85546868f4df692803d21ddbaa20673fd8b5be0b (patch) | |
tree | 8a8079c69adf483b6ab2dd435faf1ba72191287c /test/grab.c | |
parent | 0da06d904850330f583e1e8cdededcf6aa8cbe29 (diff) | |
download | uca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.gz uca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.bz2 uca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.xz uca-85546868f4df692803d21ddbaa20673fd8b5be0b.zip |
Typedef types
Diffstat (limited to 'test/grab.c')
-rw-r--r-- | test/grab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/grab.c b/test/grab.c index 54e6955..16bafb1 100644 --- a/test/grab.c +++ b/test/grab.c @@ -24,7 +24,7 @@ #define handle_error(errno) {if ((errno) != UCA_NO_ERROR) printf("error at <%s:%i>\n", \ __FILE__, __LINE__);} -static struct uca *u = NULL; +uca *u = NULL; void sigint_handler(int signal) { @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) } /* take first camera */ - struct uca_camera *cam = u->cameras; + uca_camera *cam = u->cameras; uint32_t val = 5000; handle_error(uca_cam_set_property(cam, UCA_PROP_EXPOSURE, &val)); |