summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-05 21:33:16 +0000
committerMiles Bader <miles@gnu.org>1996-02-05 21:33:16 +0000
commitc63085b227a3178d7943c5c4e53cd889bd081e1f (patch)
tree730114909e6eb3b18317a033bf349f3163f6871f /libshouldbeinlibc
parent9fb0a3ddbc954cc6a7b792409842a6b1d007ef26 (diff)
(line_write, line_fill, line_puts): Add `const' where appropriate.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/=line.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libshouldbeinlibc/=line.h b/libshouldbeinlibc/=line.h
index 3305cd3b..54ab15de 100644
--- a/libshouldbeinlibc/=line.h
+++ b/libshouldbeinlibc/=line.h
@@ -1,6 +1,6 @@
/* Simple output formatting functions
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -106,13 +106,13 @@ line_putc (struct line *line, int ch)
/* Adds the text in STR to LINE, wrapping words as necessary to fit. LMARGIN
is the left margin used when wrapping. */
-void line_fill (struct line *line, char *str, unsigned lmargin);
+void line_fill (struct line *line, const char *str, unsigned lmargin);
/* Add STR, of length LEN, to LINE. */
-void line_write (struct line *line, char *str, unsigned len);
+void line_write (struct line *line, const char *str, unsigned len);
/* Add STR to LINE. */
-extern inline void line_puts (struct line *line, char *str)
+extern inline void line_puts (struct line *line, const char *str)
{
line_write (line, str, strlen (str));
}