summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-09 18:16:43 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-09 18:16:43 +0000
commitdceee0294f3814dd97c3c273200011977a8ecca6 (patch)
treecab42931644ddfa8fe63675c5c2dc26fb06cc98d /misc.c
parent0e64c9d347e230cb338514b7f5d9c29bf6940128 (diff)
downloadhalibut-dceee0294f3814dd97c3c273200011977a8ecca6.zip
halibut-dceee0294f3814dd97c3c273200011977a8ecca6.tar.gz
halibut-dceee0294f3814dd97c3c273200011977a8ecca6.tar.bz2
halibut-dceee0294f3814dd97c3c273200011977a8ecca6.tar.xz
Added an info(1) backend, which constructs .info files directly
without going through the .texi source stage. A few things left to do, notably documentation, but the basics all seem to be there. [originally from svn r4047]
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index a54cc6c..6d5497b 100644
--- a/misc.c
+++ b/misc.c
@@ -62,7 +62,7 @@ void rdadd(rdstring *rs, wchar_t c) {
rs->text[rs->pos++] = c;
rs->text[rs->pos] = 0;
}
-void rdadds(rdstring *rs, wchar_t *p) {
+void rdadds(rdstring *rs, wchar_t const *p) {
int len = ustrlen(p);
if (rs->pos >= rs->size - len) {
rs->size = rs->pos + len + 128;
@@ -84,7 +84,7 @@ void rdaddc(rdstringc *rs, char c) {
rs->text[rs->pos++] = c;
rs->text[rs->pos] = 0;
}
-void rdaddsc(rdstringc *rs, char *p) {
+void rdaddsc(rdstringc *rs, char const *p) {
int len = strlen(p);
if (rs->pos >= rs->size - len) {
rs->size = rs->pos + len + 128;