Module Name:    src
Committed By:   rillig
Date:           Thu Aug  6 17:22:16 UTC 2020

Modified Files:
        src/usr.bin/make: hash.h

Log Message:
make(1): remove unused macro Hash_Size


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/make/hash.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/hash.h
diff -u src/usr.bin/make/hash.h:1.16 src/usr.bin/make/hash.h:1.17
--- src/usr.bin/make/hash.h:1.16	Sat Aug  1 14:47:49 2020
+++ src/usr.bin/make/hash.h	Thu Aug  6 17:22:15 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: hash.h,v 1.16 2020/08/01 14:47:49 rillig Exp $	*/
+/*	$NetBSD: hash.h,v 1.17 2020/08/06 17:22:15 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -133,12 +133,6 @@ typedef struct Hash_Search {
 
 #define Hash_SetValue(h, val) ((h)->clientPtr = (val))
 
-/*
- * Hash_Size(n) returns the number of words in an object of n bytes
- */
-
-#define	Hash_Size(n)	(((n) + sizeof (int) - 1) / sizeof (int))
-
 void Hash_InitTable(Hash_Table *, int);
 void Hash_DeleteTable(Hash_Table *);
 Hash_Entry *Hash_FindEntry(Hash_Table *, const char *);

Reply via email to