Which makes this code go all wrong depending on where a system has put
their things like ALIGNBYTES.
Delete with prejudice. When someone needs to compile this in another
environment, they need to face this hurdle, and maybe change the
embedded memory allocator...
-/* $OpenBSD: hash.c,v 1.16 2014/05/18 09:29:54 espie Exp $ */
+/* $OpenBSD: hash.c,v 1.17 2015/01/16 16:25:50 deraadt Exp $ */
/* $NetBSD: hash.c,v 1.4 1996/11/07 22:59:43 gwr Exp $ */
/*
#include "config.h"
-/*
- * These are really for MAKE_BOOTSTRAP but harmless.
- * XXX - Why not just use malloc in here, anyway?
- */
-#ifndef ALIGNBYTES
-#define ALIGNBYTES 3
-#endif
-#ifndef ALIGN
-#define ALIGN(p) (((long)(p) + ALIGNBYTES) &~ ALIGNBYTES)
-#endif
-
/*
* Interned strings are kept in a hash table. By making each string
* unique, the program can compare strings by comparing pointers.