summaryrefslogtreecommitdiff
path: root/src/libexif/exif-log.c
diff options
context:
space:
mode:
authorscuri <scuri>2009-08-20 12:13:11 +0000
committerscuri <scuri>2009-08-20 12:13:11 +0000
commit35733b87eed86e5228f12fa10c98a3d9d22a6073 (patch)
treeaa7e3c89788c15b925eecdbdf7e9d98291b4f469 /src/libexif/exif-log.c
parent83b3c8b629d96f5fdf754d35d5f4f5369dbfef1d (diff)
*** empty log message ***
Diffstat (limited to 'src/libexif/exif-log.c')
-rw-r--r--src/libexif/exif-log.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libexif/exif-log.c b/src/libexif/exif-log.c
index 5dde1ce..195bfe2 100644
--- a/src/libexif/exif-log.c
+++ b/src/libexif/exif-log.c
@@ -1,6 +1,6 @@
/* exif-log.c
*
- * Copyright © 2004 Lutz Müller <lutz@users.sourceforge.net>
+ * Copyright (c) 2004 Lutz Mueller <lutz@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -35,7 +35,7 @@ struct _ExifLog {
ExifMem *mem;
};
-static struct {
+static const struct {
ExifLogCode code;
const char *title;
const char *message;
@@ -127,6 +127,10 @@ exif_log_set_func (ExifLog *log, ExifLogFunc func, void *data)
log->data = data;
}
+#ifdef NO_VERBOSE_TAG_STRINGS
+/* exif_log forms part of the API and can't be commented away */
+#undef exif_log
+#endif
void
exif_log (ExifLog *log, ExifLogCode code, const char *domain,
const char *format, ...)