summaryrefslogtreecommitdiff
path: root/usr.bin/grep/mmfile.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-23 07:52:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-23 07:52:19 +0000
commit68e1e785aff3ef6ebd2865074ac089e9020c3c29 (patch)
tree8efb40dc68252c23a84c9182c816a36e6dad825b /usr.bin/grep/mmfile.c
parentfd8b5a75b968805b16716e0e8b4f435c6a4b87e3 (diff)
minor tweaks
Diffstat (limited to 'usr.bin/grep/mmfile.c')
-rw-r--r--usr.bin/grep/mmfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/grep/mmfile.c b/usr.bin/grep/mmfile.c
index 0772f058849..d58b213b631 100644
--- a/usr.bin/grep/mmfile.c
+++ b/usr.bin/grep/mmfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmfile.c,v 1.3 2003/06/22 22:38:50 deraadt Exp $ */
+/* $OpenBSD: mmfile.c,v 1.4 2003/06/23 07:52:18 deraadt Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -99,11 +99,11 @@ mmfgetln(mmf_t *mmf, size_t *l)
long
mmtell(mmf_t *mmf)
{
- return mmf->ptr - mmf->base;
+ return mmf->ptr - mmf->base;
}
void
mmrewind(mmf_t *mmf)
{
- mmf->ptr = mmf->base;
+ mmf->ptr = mmf->base;
}