blob: 25f8de8bc3f5bec6ba22cc2fbd894425d2bc8237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-aa,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
--- afbinit.c.orig 2001-11-30 03:04:21.000000000 +0100
+++ afbinit.c 2005-06-02 15:22:11.000000000 +0200
@@ -13,6 +13,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
/* Define this to debug the microcode loading procedure. */
#undef DEBUG_UCODE_LOAD
@@ -193,7 +194,7 @@
struct afb_ucode_header {
char ident[8];
unsigned int ucode_words;
- unsigned int __unused[2];
+ unsigned int unused[2];
} ucheader;
unsigned int *ucode;
int afb_fd, ucode_fd, ucode_version;
|