aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/window/string.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-10-26 10:00:52 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-10-26 10:00:52 +0000
commite218b63212e0698ca73953f276748e8074412fad (patch)
tree625298f1a9d258f3648b84c8f189025b46af5c42 /usr.bin/window/string.c
parentcc66bbda3cc8983c8b826e68207af4418ada3993 (diff)
Notes
Diffstat (limited to 'usr.bin/window/string.c')
-rw-r--r--usr.bin/window/string.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/window/string.c b/usr.bin/window/string.c
index 9d1c1458f2a9..29e3287f5695 100644
--- a/usr.bin/window/string.c
+++ b/usr.bin/window/string.c
@@ -36,10 +36,11 @@
#ifndef lint
static char sccsid[] = "@(#)string.c 8.1 (Berkeley) 6/6/93";
+static char rcsid[] = "@(#)$FreeBSD$";
#endif /* not lint */
#include <string.h> /* System string definitions. */
-#include "string.h" /* Local string definitions. */
+#include "mystring.h" /* Local string definitions. */
char *malloc();
@@ -123,9 +124,9 @@ char *
str_alloc(l)
int l;
{
- register struct string *s;
+ register struct mystring *s;
- s = (struct string *) malloc((unsigned)l + str_offset);
+ s = (struct mystring *) malloc((unsigned)l + str_offset);
if (s == 0)
return 0;
if (str_head.s_forw == 0)
@@ -140,7 +141,7 @@ int l;
str_free(str)
char *str;
{
- register struct string *s;
+ register struct mystring *s;
for (s = str_head.s_forw; s != &str_head && s->s_data != str;
s = s->s_forw)