summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-07 15:54:44 +0000
committerJim Meyering <jim@meyering.net>1998-05-07 15:54:44 +0000
commitcaace0543836ce613c2ed68532a85e313bab77ae (patch)
treeb4cb1dfa18c225948cfa861365e443815d2121bf
parentcd7f8d6e9bde6709051c71d862cca5cdd0abc137 (diff)
downloadcoreutils-caace0543836ce613c2ed68532a85e313bab77ae.tar.xz
rename variable
-rw-r--r--src/tac.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tac.c b/src/tac.c
index a4436c83d..f5cf8b4ed 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -452,13 +452,12 @@ tac_stdin (void)
return errors;
}
-/* BUF_END_PLUS_ONE points one byte past the end of the buffer
- to be searched. */
+/* BUF_END points one byte past the end of the buffer to be searched. */
static void *
-memrchr (const char *buf_start, const char *buf_end_plus_one, int c)
+memrchr (const char *buf_start, const char *buf_end, int c)
{
- const char *p = buf_end_plus_one;
+ const char *p = buf_end;
while (buf_start <= --p)
{
if (*(const unsigned char *) p == c)