svn commit: lorikeet r351 - in trunk/heimdal/lib/roken: .
abartlet at samba.org
abartlet at samba.org
Thu Jun 23 02:19:57 GMT 2005
Author: abartlet
Date: 2005-06-23 02:19:56 +0000 (Thu, 23 Jun 2005)
New Revision: 351
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=351
Log:
Add const
Modified:
trunk/heimdal/lib/roken/base64.c
Changeset:
Modified: trunk/heimdal/lib/roken/base64.c
===================================================================
--- trunk/heimdal/lib/roken/base64.c 2005-06-23 01:47:46 UTC (rev 350)
+++ trunk/heimdal/lib/roken/base64.c 2005-06-23 02:19:56 UTC (rev 351)
@@ -39,13 +39,13 @@
#include <string.h>
#include "base64.h"
-static char base64_chars[] =
+static const char base64_chars[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
static int
pos(char c)
{
- char *p;
+ const char *p;
for (p = base64_chars; *p; p++)
if (*p == c)
return p - base64_chars;
More information about the samba-cvs
mailing list