Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat Fix copy-paste error for heapsort(3), so that i...
details: https://anonhg.NetBSD.org/src/rev/94e3ef171357
branches: trunk
changeset: 1019013:94e3ef171357
user: rin <rin%NetBSD.org@localhost>
date: Tue Feb 23 16:03:00 2021 +0000
description:
Fix copy-paste error for heapsort(3), so that it is declared appropriately.
diffstat:
tools/compat/compat_defs.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 24bd02dc0aa8 -r 94e3ef171357 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h Tue Feb 23 16:00:37 2021 +0000
+++ b/tools/compat/compat_defs.h Tue Feb 23 16:03:00 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_defs.h,v 1.116 2019/06/19 23:33:07 kamil Exp $ */
+/* $NetBSD: compat_defs.h,v 1.117 2021/02/23 16:03:00 rin Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@@ -462,11 +462,10 @@
ssize_t pread(int, void *, size_t, off_t);
#endif
+#define heapsort __nbcompat_heapsort
#if !HAVE_DECL_HEAPSORT
int heapsort (void *, size_t, size_t, int (*)(const void *, const void *));
#endif
-/* Make them use our version */
-# define heapsort __nbcompat_heapsort
char *flags_to_string(unsigned long, const char *);
int string_to_flags(char **, unsigned long *, unsigned long *);
Home |
Main Index |
Thread Index |
Old Index