summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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).)