shithub: jbig2

Download patch

ref: 4d57cb4f565736e5a8473876dcd56464cd3aba70
parent: 75de8111f83acd49a2eb75bed348cb4fac9f1e97
author: Ralph Giles <giles@ghostscript.com>
date: Thu Feb 26 13:02:37 EST 2009

Regularize the headers and clean up some additional whitespace.

--- a/jbig2.c
+++ b/jbig2.c
@@ -428,4 +428,3 @@
 {
   jbig2_free(ctx->allocator, ws);
 }
-
--- a/jbig2_generic.c
+++ b/jbig2_generic.c
@@ -631,4 +631,3 @@
 
   return code;
 }
-
--- a/jbig2_mmr.c
+++ b/jbig2_mmr.c
@@ -1,17 +1,25 @@
 /*
-jbig2dec
+    jbig2dec
 
-Copyright (C) 2001-2002 Artifex Software, Inc.
+    Copyright (C) 2001-2002 Artifex Software, Inc.
 
-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.
+    This software is provided AS-IS with no warranty,
+    either express or implied.
+
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 */
 
-/*
-An implementation of MMR decoding. This is based on the implementation
-in Fitz, which in turn is based on the one in Ghostscript.
+/* An implementation of MMR decoding. This is based on the
+   implementation in Fitz, which in turn is based on the one
+   in Ghostscript.
 */
 
 #ifdef HAVE_CONFIG_H
--- a/jbig2_priv.h
+++ b/jbig2_priv.h
@@ -12,9 +12,9 @@
     http://www.artifex.com/licensing/ or contact
     Artifex Software, Inc.,  101 Lucas Valley Road #110,
     San Rafael, CA  94903, U.S.A., +1(415)492-9861.
-
-    shared library internals
 */
+
+/* library internals */
 
 typedef uint8_t byte;
 typedef int bool;
--- a/jbig2_symbol_dict.c
+++ b/jbig2_symbol_dict.c
@@ -12,9 +12,9 @@
     http://www.artifex.com/licensing/ or contact
     Artifex Software, Inc.,  101 Lucas Valley Road #110,
     San Rafael, CA  94903, U.S.A., +1(415)492-9861.
-
-    symbol dictionary segment decode and support
 */
+
+/* symbol dictionary segment decode and support */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
--- a/jbig2_symbol_dict.h
+++ b/jbig2_symbol_dict.h
@@ -12,9 +12,9 @@
     http://www.artifex.com/licensing/ or contact
     Artifex Software, Inc.,  101 Lucas Valley Road #110,
     San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+*/
 
-    symbol dictionary header
- */
+/* symbol dictionary header */
 
 /* the results of decoding a symbol dictionary */
 typedef struct {