Enlightenment CVS committal
Author : tilman
Project : e17
Module : libs/epsilon
Dir : e17/libs/epsilon/src/lib/exiftags
Modified Files:
canon.c
Log Message:
make those tables constant
===================================================================
RCS file: /cvs/e/e17/libs/epsilon/src/lib/exiftags/canon.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- canon.c 6 May 2007 13:55:09 -0000 1.3
+++ canon.c 6 May 2007 13:58:25 -0000 1.4
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: canon.c,v 1.3 2007/05/06 13:55:09 tilman Exp $
+ * $Id: canon.c,v 1.4 2007/05/06 13:58:25 tilman Exp $
*/
/*
@@ -571,7 +571,7 @@
/* D30/D60 custom functions. */
-static struct ccstm canon_d30custom[] = {
+static const struct ccstm canon_d30custom[] = {
{ 1, ccstm_offon, "Long exposure noise reduction" },
{ 2, ccstm_shutter, "Shutter/AE lock buttons" },
{ 3, ccstm_disen, "Mirror lockup" },
@@ -593,7 +593,7 @@
/* EOS-1D/1Ds custom functions. */
-static struct ccstm canon_1dcustom[] = {
+static const struct ccstm canon_1dcustom[] = {
{ 0, ccstm_fscr, "Focusing screen" },
{ 1, ccstm_finder, "Finder display during exposure" },
{ 2, ccstm_yesno, "Shutter release w/o CF card" },
@@ -790,7 +790,7 @@
*/
static void
canon_custom(struct exifprop *prop, char *off, enum order o,
- struct ccstm *table)
+ const struct ccstm *table)
{
int i, j = -1;
const char *cn;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs