diff options
| author | 2017-11-16 19:08:16 +0000 | |
|---|---|---|
| committer | 2017-11-16 19:08:16 +0000 | |
| commit | 246157c12f4be926e0216a05d5a4edb249ab349b (patch) | |
| tree | d0fe67eca14190088a0c606529879978d579fb06 | |
| parent | Add a variable referencing the csh binary to test. (diff) | |
| download | wireguard-openbsd-246157c12f4be926e0216a05d5a4edb249ab349b.tar.xz wireguard-openbsd-246157c12f4be926e0216a05d5a4edb249ab349b.zip | |
Zap a redundant cast.
| -rw-r--r-- | bin/csh/file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/csh/file.c b/bin/csh/file.c index 074dce9f937..044ffed5fde 100644 --- a/bin/csh/file.c +++ b/bin/csh/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.35 2017/08/30 06:57:48 anton Exp $ */ +/* $OpenBSD: file.c,v 1.36 2017/11/16 19:08:16 anton Exp $ */ /* $NetBSD: file.c,v 1.11 1996/11/08 19:34:37 christos Exp $ */ /*- @@ -673,8 +673,7 @@ again: /* search for matches */ return (numitems); } else { /* LIST */ - qsort(items, numitems, sizeof(*items), - (int (*)(const void *, const void *)) sortscmp); + qsort(items, numitems, sizeof(*items), sortscmp); print_by_column(looking_for_lognames ? NULL : tilded_dir, items, numitems); if (items != NULL) |
