diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2010-12-12 15:51:06 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2010-12-12 15:51:06 +0100 |
| commit | c8caea8a8510c31fc028501acf44734f48b8dc3b (patch) | |
| tree | f6d33dd4953c43b42d1d962223a0d05384b5e1a1 /src/jpeg-utils.h | |
| parent | 1089f1fcf55591dd4b5d47ee963bfe0e24cf9ad5 (diff) | |
| download | cataract-c8caea8a8510c31fc028501acf44734f48b8dc3b.tar.xz | |
Cleanup header defines
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__ */ |
