summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-02-01 17:11:07 +0000
committerSteve Price <steve@FreeBSD.org>1998-02-01 17:11:07 +0000
commit3de1350407bcfce79b71afe37f2040d991908b3f (patch)
tree6114a4441f4e554122605aa2fbbe0866ce423a9b
parent9b9171060e365b5a2646a6dfc3d6217bb99057fb (diff)
Notes
-rw-r--r--bin/csh/file.c6
-rw-r--r--usr.sbin/sendmail/src/recipient.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/csh/file.c b/bin/csh/file.c
index 5ef709c7871a..91e4b872b6ba 100644
--- a/bin/csh/file.c
+++ b/bin/csh/file.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)file.c 8.2 (Berkeley) 3/19/94";
#else
static const char rcsid[] =
- "$Id: file.c,v 1.6 1997/02/22 14:01:54 peter Exp $";
+ "$Id: file.c,v 1.7 1997/08/07 21:42:08 steve Exp $";
#endif
#endif /* not lint */
@@ -453,7 +453,7 @@ tsearch(word, command, max_word_length)
looking_for_lognames = (*word == '~') && (Strchr(word, '/') == NULL);
if (looking_for_lognames) {
- (void) setpwent();
+ setpwent();
copyn(name, &word[1], MAXNAMLEN); /* name sans ~ */
dir_fd = NULL;
}
@@ -501,7 +501,7 @@ again: /* search for matches */
ignoring = FALSE;
nignored = 0;
if (looking_for_lognames)
- (void) setpwent();
+ setpwent();
else
rewinddir(dir_fd);
goto again;
diff --git a/usr.sbin/sendmail/src/recipient.c b/usr.sbin/sendmail/src/recipient.c
index adcce7acf835..579536632475 100644
--- a/usr.sbin/sendmail/src/recipient.c
+++ b/usr.sbin/sendmail/src/recipient.c
@@ -736,7 +736,7 @@ finduser(name, fuzzyp)
if (*p == (SpaceSub & 0177) || *p == '_')
*p = ' ';
}
- (void) setpwent();
+ setpwent();
while ((pw = getpwent()) != NULL)
{
char buf[MAXNAME + 1];