While here, fix other problems caught by gcc: - casting malloc instead of including <stdlib.h> - casting strdup instead of including <string.h> - failing to include <time.h> with bad consequences for -current. PKGREVISION -> 3.
12 lines
282 B
Text
12 lines
282 B
Text
$NetBSD: patch-song__hash_c,v 1.1 2011/09/04 21:38:03 dholland Exp $
|
|
|
|
- add needed standard headers
|
|
|
|
--- song_hash.c~ 2000-04-03 00:17:22.000000000 +0000
|
|
+++ song_hash.c
|
|
@@ -1,3 +1,5 @@
|
|
+#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include "song_hash.h"
|
|
|
|
#define HASH_TABLE_SIZE 11
|