jbig2dec
Ralph Giles <[email protected]> Wed, 05 Feb 2003 07:10:03 -0800
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jbig2dec/jbig2dec
In directory sc8-pr-cvs1:/tmp/cvs-serv9819
Modified Files:
jbig2.h
Log Message:
Add double-include protection to the public header.
Index: jbig2.h
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/jbig2.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- jbig2.h 3 Feb 2003 20:04:11 -0000 1.15
+++ jbig2.h 5 Feb 2003 15:09:59 -0000 1.16
@@ -15,6 +15,9 @@
extern "C" {
#endif
+#ifndef _JBIG2_H
+#define _JBIG2_H
+
/* warning levels */
typedef enum {
JBIG2_SEVERITY_DEBUG,
@@ -115,6 +118,8 @@
int jbig2_parse_segment (Jbig2Ctx *ctx, Jbig2Segment *segment,
const uint8_t *segment_data);
void jbig2_free_segment (Jbig2Ctx *ctx, Jbig2Segment *segment);
+
+#endif /* _JBIG2_H */
#ifdef __cplusplus
}