summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-04-19 17:11:54 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-04-19 17:11:54 +0000
commit1467a4d73d9760ea8bbf4dfdf118b65c66c21ce1 (patch)
treecca2e59e803c356b77c5142dbe613f5e3a728822 /src/lib
parent2d062c1272f213a9d9b7598d44366a3c1f4d1f3c (diff)
downloadkrb5-1467a4d73d9760ea8bbf4dfdf118b65c66c21ce1.tar.gz
krb5-1467a4d73d9760ea8bbf4dfdf118b65c66c21ce1.tar.xz
krb5-1467a4d73d9760ea8bbf4dfdf118b65c66c21ce1.zip
fix name of copyright file.
fix up #ifdef's & #endifs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@526 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/os/net_read.c11
-rw-r--r--src/lib/krb5/os/net_write.c11
2 files changed, 12 insertions, 10 deletions
diff --git a/src/lib/krb5/os/net_read.c b/src/lib/krb5/os/net_read.c
index 153ecfe06..06e8ec755 100644
--- a/src/lib/krb5/os/net_read.c
+++ b/src/lib/krb5/os/net_read.c
@@ -5,18 +5,19 @@
* Copyright 1987, 1988, 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*/
-#ifndef lint
+#if !defined(lint) && !defined(SABER)
static char rcsid_net_read_c[] =
"$Header$";
-#endif lint
+#endif /* !lint & !SABER */
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
+#include <krb5/ext-proto.h>
/*
- * krb_net_read() reads from the file descriptor "fd" to the buffer
+ * krb5_net_read() reads from the file descriptor "fd" to the buffer
* "buf", until either 1) "len" bytes have been read or 2) cannot
* read anymore from "fd". It returns the number of bytes read
* or a read() error. (The calling interface is identical to
diff --git a/src/lib/krb5/os/net_write.c b/src/lib/krb5/os/net_write.c
index cb64446af..834b30393 100644
--- a/src/lib/krb5/os/net_write.c
+++ b/src/lib/krb5/os/net_write.c
@@ -5,18 +5,19 @@
* Copyright 1987, 1988, 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*/
-#ifndef lint
+#if !defined(lint) && !defined(SABER)
static char rcsid_net_write_c[] =
"$Header$";
-#endif lint
+#endif /* !lint & !SABER */
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
+#include <krb5/ext-proto.h>
/*
- * krb_net_write() writes "len" bytes from "buf" to the file
+ * krb5_net_write() writes "len" bytes from "buf" to the file
* descriptor "fd". It returns the number of bytes written or
* a write() error. (The calling interface is identical to
* write(2).)