Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/heimdal/lib/roken Removed #ifndef's so this file...
details: https://anonhg.NetBSD.org/src/rev/267dbf44b7ed
branches: trunk
changeset: 495627:267dbf44b7ed
user: garbled <garbled%NetBSD.org@localhost>
date: Wed Aug 02 02:44:06 2000 +0000
description:
Removed #ifndef's so this file can be included by compile_et and
asn1_compile when building host-tools on machines that don't have those
functions.
diffstat:
crypto/dist/heimdal/lib/roken/strlcat.c | 5 +----
crypto/dist/heimdal/lib/roken/strlcpy.c | 6 +-----
2 files changed, 2 insertions(+), 9 deletions(-)
diffs (39 lines):
diff -r 188bb7cd9fe1 -r 267dbf44b7ed crypto/dist/heimdal/lib/roken/strlcat.c
--- a/crypto/dist/heimdal/lib/roken/strlcat.c Wed Aug 02 02:42:24 2000 +0000
+++ b/crypto/dist/heimdal/lib/roken/strlcat.c Wed Aug 02 02:44:06 2000 +0000
@@ -36,9 +36,7 @@
#endif
#include "roken.h"
-RCSID("$Id: strlcat.c,v 1.1.1.1 2000/06/16 18:32:36 thorpej Exp $");
-
-#ifndef HAVE_STRLCAT
+RCSID("$Id: strlcat.c,v 1.2 2000/08/02 02:44:06 garbled Exp $");
size_t
strlcat (char *dst, const char *src, size_t dst_sz)
@@ -47,4 +45,3 @@
return len + strlcpy (dst + len, src, dst_sz - len);
}
-#endif
diff -r 188bb7cd9fe1 -r 267dbf44b7ed crypto/dist/heimdal/lib/roken/strlcpy.c
--- a/crypto/dist/heimdal/lib/roken/strlcpy.c Wed Aug 02 02:42:24 2000 +0000
+++ b/crypto/dist/heimdal/lib/roken/strlcpy.c Wed Aug 02 02:44:06 2000 +0000
@@ -36,9 +36,7 @@
#endif
#include "roken.h"
-RCSID("$Id: strlcpy.c,v 1.1.1.1 2000/06/16 18:32:36 thorpej Exp $");
-
-#ifndef HAVE_STRLCPY
+RCSID("$Id: strlcpy.c,v 1.2 2000/08/02 02:44:06 garbled Exp $");
size_t
strlcpy (char *dst, const char *src, size_t dst_sz)
@@ -56,5 +54,3 @@
else
return n + strlen (src);
}
-
-#endif
Home |
Main Index |
Thread Index |
Old Index