texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: info/search.c: add one more const.


From: Patrice Dumas
Subject: branch master updated: info/search.c: add one more const.
Date: Sat, 12 Oct 2024 14:00:04 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 3980b3c9f5 info/search.c: add one more const.
3980b3c9f5 is described below

commit 3980b3c9f546d1c8170cdc5b1b5d03dff1ff04c4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 12 19:59:34 2024 +0200

    info/search.c: add one more const.
---
 info/search.c | 2 +-
 info/search.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/info/search.c b/info/search.c
index 4e3427c625..56beb96b31 100644
--- a/info/search.c
+++ b/info/search.c
@@ -399,7 +399,7 @@ looking_at (const char *string, const SEARCH_BINDING 
*binding)
 /* Return non-zero if POINTER is looking at the text at STRING before an 
    end-of-line. */
 int
-looking_at_line (const char *string, char *pointer)
+looking_at_line (const char *string, const char *pointer)
 {
   int len;
 
diff --git a/info/search.h b/info/search.h
index 9a7f6adb23..3280854f71 100644
--- a/info/search.h
+++ b/info/search.h
@@ -65,7 +65,7 @@ enum search_result regexp_search (const char *regexp,
                char *buffer, long buflen,
                MATCH_STATE *match_state);
 int looking_at (const char *string, const SEARCH_BINDING *binding);
-int looking_at_line (const char *string, char *pointer);
+int looking_at_line (const char *string, const char *pointer);
 
 /* Note that STRING_IN_LINE () always returns the offset of the 1st character
    after the string. */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]