summaryrefslogtreecommitdiff
path: root/usr.bin/sort/sort.h
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2001-02-19 19:31:29 +0000
committerjdolecek <jdolecek@NetBSD.org>2001-02-19 19:31:29 +0000
commit7f547730fdfc2e64fc23b7ba0da63e4744e9db41 (patch)
treeb8308fcf4ed4ceab213f27c38a42a26024c504a2 /usr.bin/sort/sort.h
parentac52e9e4de70e4a4dd5f365951fd423a981820ad (diff)
cosmetic changes - make keylist[] static and remove extern definition
in fsort.h, move macro SALIGN() from sort.h to fsort.c
Diffstat (limited to 'usr.bin/sort/sort.h')
-rw-r--r--usr.bin/sort/sort.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/sort/sort.h b/usr.bin/sort/sort.h
index 21d493be689..a8f2c4b1718 100644
--- a/usr.bin/sort/sort.h
+++ b/usr.bin/sort/sort.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sort.h,v 1.11 2001/01/19 10:14:31 jdolecek Exp $ */
+/* $NetBSD: sort.h,v 1.12 2001/02/19 19:31:29 jdolecek Exp $ */
/*-
* Copyright (c) 1993
@@ -84,8 +84,6 @@
/* length of record is currently limited to maximum string length (size_t) */
typedef size_t length_t;
-#define SALIGN(n) ((n+sizeof(length_t)-1) & ~(sizeof(length_t)-1))
-
/* a record is a key/line pair starting at rec.data. It has a total length
* and an offset to the start of the line half of the pair.
*/