[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/src/kwset.c
From: |
Stepan Kasal |
Subject: |
Changes to grep/src/kwset.c |
Date: |
Wed, 09 Feb 2005 08:15:33 -0500 |
Index: grep/src/kwset.c
diff -u grep/src/kwset.c:1.4 grep/src/kwset.c:1.5
--- grep/src/kwset.c:1.4 Thu Feb 8 15:06:36 2001
+++ grep/src/kwset.c Wed Feb 9 13:15:32 2005
@@ -1,5 +1,5 @@
/* kwset.c - search for any of a set of keywords.
- Copyright 1989, 1998, 2000 Free Software Foundation, Inc.
+ Copyright 1989, 1998, 2000, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -121,7 +121,7 @@
/* Add the given string to the contents of the keyword set. Return NULL
for success, an error message otherwise. */
-char *
+const char *
kwsincr (kwset_t kws, char const *text, size_t len)
{
struct kwset *kwset;
@@ -371,7 +371,7 @@
/* Compute the shift for each trie node, as well as the delta
table and next cache for the given keyword set. */
-char *
+const char *
kwsprep (kwset_t kws)
{
register struct kwset *kwset;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/src/kwset.c,
Stepan Kasal <=