diff options
Diffstat (limited to 'src/jpeg-utils.h')
| -rw-r--r-- | src/jpeg-utils.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/jpeg-utils.h b/src/jpeg-utils.h index 6e0dc9c..e5845bc 100644 --- a/src/jpeg-utils.h +++ b/src/jpeg-utils.h @@ -15,14 +15,15 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -#ifdef __cplusplus - extern "C" { -#endif +#ifndef __CGG__JPEG_UTILS_H__ +#define __CGG__JPEG_UTILS_H__ #include <glib.h> #include "setup.h" +G_BEGIN_DECLS + + #define SQUARED_SIMPLE_SHAVE_AMOUNT 5 /* percent */ @@ -93,6 +94,6 @@ void calculate_sizes (const unsigned long max_width, const unsigned long max_hei void modify_exif (const gchar *filename, gboolean strip_thumbnail, const gchar *add_copyright); -#ifdef __cplusplus - } -#endif +G_END_DECLS + +#endif /* __CGG__JPEG_UTILS_H__ */ |
