Declare the input buffer to be const
authorTheodore Tso <tytso@mit.edu>
Fri, 24 Dec 1993 22:36:32 +0000 (22:36 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 24 Dec 1993 22:36:32 +0000 (22:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3269 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/net_write.c

index c1cf5744cacf3ca372f042cf3f1174b04d477f37..c69d6dd0c7186a9516a0700bd30df45857a88a56 100644 (file)
@@ -43,7 +43,7 @@ static char rcsid_net_write_c[] =
 int
 krb5_net_write(fd, buf, len)
 int fd;
-register char *buf;
+register const char *buf;
 int len;
 {
     int cc;