summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-10 10:04:12 +0000
committerJim Meyering <jim@meyering.net>2005-12-10 10:04:12 +0000
commitfbaa8e9719daebbd29587368398bc28e82449a12 (patch)
tree79dac2cdaeda6ed9969aab9242ac9c8ee785e23c /src/sort.c
parentbeb862ee9c1e5b060dfb93d5f70901af89486de3 (diff)
downloadcoreutils-fbaa8e9719daebbd29587368398bc28e82449a12.tar.xz
(get_hash): Change position of `*' in parameter type to conform with convention.
(main): Split a long line so it fits in 80 columns.
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c
index 655220d76..caaa5de1b 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -1172,7 +1172,7 @@ static struct isaac_state *rand_state;
#define HASH_SIZE (HASH_WORDS * sizeof (uint32_t))
static void
-get_hash (char const* text, size_t len, uint32_t resbuf[/*HASH_WORDS*/])
+get_hash (char const *text, size_t len, uint32_t resbuf[/*HASH_WORDS*/])
{
struct isaac_state s;
int i;
@@ -2242,7 +2242,8 @@ main (int argc, char **argv)
gkey.sword = gkey.eword = SIZE_MAX;
gkey.ignore = NULL;
gkey.translate = NULL;
- gkey.numeric = gkey.general_numeric = gkey.random_hash = gkey.month = gkey.reverse = false;
+ gkey.numeric = gkey.general_numeric = gkey.random_hash = false;
+ gkey.month = gkey.reverse = false;
gkey.skipsblanks = gkey.skipeblanks = false;
files = xnmalloc (argc, sizeof *files);