chiark / gitweb /
Headers: Guard inclusion of mLib headers.
[mLib] / base64.c
index 60bb040ae3a74383c38df2ea1d7469a075e62560..ae3c98713ee94c0b5b040601088c14482d863695 100644 (file)
--- a/base64.c
+++ b/base64.c
@@ -1,13 +1,11 @@
 /* -*-c-*-
- *
- * $Id: base64.c,v 1.7 2004/04/08 01:36:11 mdw Exp $
  *
  * Base64 encoding and decoding.
  *
  * (c) 1997 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -39,7 +37,7 @@
 /*----- Important tables --------------------------------------------------*/
 
 static const char encodemap[] = { "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-                                 "abcdefghijklmnopqrstuvwxyz" 
+                                 "abcdefghijklmnopqrstuvwxyz"
                                  "0123456789+/" };
 
 static const signed char decodemap[] = {
@@ -51,7 +49,7 @@ static const signed char decodemap[] = {
   15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,  /* 5x */
   -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 ,37, 38, 39, 40,  /* 6x */
   41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1   /* 7x */
-};  
+};
 
 /*----- Main code ---------------------------------------------------------*/