summaryrefslogtreecommitdiff
path: root/src/cairo-png.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-png.h')
-rw-r--r--src/cairo-png.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/cairo-png.h b/src/cairo-png.h
index 766d6f91f..3e86210b0 100644
--- a/src/cairo-png.h
+++ b/src/cairo-png.h
@@ -31,17 +31,20 @@
* California.
*
* Contributor(s):
- * Carl D. Worth <cworth@isi.edu>
+ * Carl D. Worth <cworth@cworth.org>
*/
-#include <cairo.h>
-
#ifndef CAIRO_PNG_H
#define CAIRO_PNG_H
-#ifdef CAIRO_HAS_PNG_SURFACE
+
+#include <cairo.h>
+
+#ifdef CAIRO_HAS_PNG_SURFACE
#include <stdio.h>
+CAIRO_BEGIN_DECLS
+
void
cairo_set_target_png (cairo_t *cr,
FILE *file,
@@ -55,5 +58,7 @@ cairo_png_surface_create (FILE *file,
int width,
int height);
+CAIRO_END_DECLS
+
#endif /* CAIRO_HAS_PNG_SURFACE */
#endif /* CAIRO_PNG_H */