ref: ef36831c93670a262622d3acad6a208d73d1d81e
parent: 5d215388772fd0c2931cdc4cafca74c1256bfea6
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Tue Feb 19 02:09:16 EST 2002
simple code cleanup. add license headers, include jbig2dec.h with dead code. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@46 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2.h
+++ b/jbig2.h
@@ -1,8 +1,22 @@
+/*
+ jbig2dec
+
+ Copyright (c) 2002 artofcode LLC.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ $Id: jbig2.h,v 1.4 2002/02/19 07:09:16 giles Exp $
+*/
+
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
+ JBIG2_SEVERITY_DEBUG,
JBIG2_SEVERITY_INFO,
JBIG2_SEVERITY_WARNING,
JBIG2_SEVERITY_FATAL
--- a/jbig2_generic.c
+++ b/jbig2_generic.c
@@ -1,3 +1,16 @@
+/*
+ jbig2dec
+
+ Copyright (c) 2002 artofcode LLC.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ $Id: jbig2_generic.c,v 1.3 2002/02/19 07:09:16 giles Exp $
+*/
+
/**
* Generic region handlers.
**/
--- a/jbig2_generic.h
+++ b/jbig2_generic.h
@@ -1,3 +1,16 @@
+/*
+ jbig2dec
+
+ Copyright (c) 2002 artofcode LLC.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ $Id: jbig2_generic.h,v 1.3 2002/02/19 07:09:16 giles Exp $
+*/
+
/* Table 2 */
typedef struct {
bool MMR;
--- a/jbig2dec.c
+++ b/jbig2dec.c
@@ -1,7 +1,7 @@
/*
jbig2dec
- Copyright (C) 2001 artofcode LLC.
+ Copyright (C) 2002 artofcode LLC.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2dec.c,v 1.14 2002/02/16 07:25:36 raph Exp $
+ $Id: jbig2dec.c,v 1.15 2002/02/19 07:09:16 giles Exp $
*/
#include <stdio.h>
@@ -17,9 +17,10 @@
#include <stdint.h>
#include "jbig2.h"
-#include "jbig2dec.h"
#ifdef DEAD_CODE
+#include "jbig2dec.h"
+
typedef struct _Jbig2SymbolDictionary Jbig2SymbolDictionary;
typedef struct _Jbig2PageInfo Jbig2PageInfo;
@@ -444,7 +445,7 @@
break;
}
}
-#endif
+#endif /* DEAD_CODE */
static int
usage (void)
--- a/jbig2dec.h
+++ b/jbig2dec.h
@@ -1,14 +1,14 @@
/*
jbig2dec
- Copyright (c) 2001 artofcode LLC.
+ Copyright (c) 2002 artofcode LLC.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
- $Id: jbig2dec.h,v 1.5 2002/02/13 08:47:18 raph Exp $
+
+ $Id: jbig2dec.h,v 1.6 2002/02/19 07:09:16 giles Exp $
*/
#ifndef JBIG2DEC_H