Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/sys Declare the function pointers as external
details: https://anonhg.NetBSD.org/src/rev/e50471e7a726
branches: pgoyette-compat
changeset: 321050:e50471e7a726
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Mar 17 00:11:13 2018 +0000
description:
Declare the function pointers as external
diffstat:
sys/sys/cpu.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r 542781cd6a11 -r e50471e7a726 sys/sys/cpu.h
--- a/sys/sys/cpu.h Fri Mar 16 11:52:53 2018 +0000
+++ b/sys/sys/cpu.h Sat Mar 17 00:11:13 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.42.2.1 2018/03/16 08:10:27 pgoyette Exp $ */
+/* $NetBSD: cpu.h,v 1.42.2.2 2018/03/17 00:11:13 pgoyette Exp $ */
/*-
* Copyright (c) 2007 YAMAMOTO Takashi,
@@ -130,9 +130,8 @@
int cpu_ucode_get_version(struct cpu_ucode_version *);
int cpu_ucode_apply(const struct cpu_ucode *);
-int (*vec_compat6_cpu_ucode_get_version)(struct compat6_cpu_ucode *);
-int (*vec_compat6_cpu_ucode_apply(const struct compat6_cpu_ucode *);
- stub_compat_6_cpu_ucode;
+extern int (*vec_compat6_cpu_ucode_get_version)(struct compat6_cpu_ucode *);
+extern int (*vec_compat6_cpu_ucode_apply)(const struct compat6_cpu_ucode *);
#ifdef COMPAT_60
int compat6_cpu_ucode_get_version(struct compat6_cpu_ucode *);
Home |
Main Index |
Thread Index |
Old Index