diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 11:29:28 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 11:29:28 +0100 |
commit | 5412f817f86b66062e6e2567faa88948bb661652 (patch) | |
tree | 6cdc24ee58dcf34c867055b14df42758e2a54146 | |
parent | 3994e7e9e476bc575b14a1b1705f1cfa65e1ae6c (diff) | |
download | libuca-5412f817f86b66062e6e2567faa88948bb661652.tar.gz libuca-5412f817f86b66062e6e2567faa88948bb661652.tar.bz2 libuca-5412f817f86b66062e6e2567faa88948bb661652.tar.xz libuca-5412f817f86b66062e6e2567faa88948bb661652.zip |
Fix compilation warnings and errors
-rw-r--r-- | src/cameras/simple.h | 4 | ||||
-rw-r--r-- | src/uca.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cameras/simple.h b/src/cameras/simple.h index 0c8e9a7..6d8e45e 100644 --- a/src/cameras/simple.h +++ b/src/cameras/simple.h @@ -15,8 +15,8 @@ with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA */ -#ifndef __UNIFIED_CAMERA_ACCESS_PHOTON_H -#define __UNIFIED_CAMERA_ACCESS_PHOTON_H +#ifndef __UNIFIED_CAMERA_ACCESS_SIMPLE_H +#define __UNIFIED_CAMERA_ACCESS_SIMPLE_H uint32_t uca_simple_init(struct uca_camera_priv **uca, struct uca_grabber_priv *grabber); @@ -346,6 +346,7 @@ uint32_t uca_cam_release_buffer(struct uca_camera *cam, void *buffer) struct uca_camera_priv *priv = cam->priv; if (priv->release_buffer != NULL) return priv->release_buffer(priv, buffer); + return UCA_ERR_NOT_IMPLEMENTED; } uint32_t uca_cam_grab(struct uca_camera *cam, char *buffer, void *meta_data) |