Add weak symbol for murmurhash2.
This commit is contained in:
parent
156d32710f
commit
6461e5c133
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: murmurhash.c,v 1.2 2012/07/08 13:42:29 rmind Exp $ */
|
/* $NetBSD: murmurhash.c,v 1.3 2012/07/09 21:25:46 rmind Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MurmurHash2 -- from the original code:
|
* MurmurHash2 -- from the original code:
|
||||||
@ -12,13 +12,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
#if defined(_KERNEL) || defined(_STANDALONE)
|
||||||
|
__KERNEL_RCSID(0, "$NetBSD: murmurhash.c,v 1.3 2012/07/09 21:25:46 rmind Exp $");
|
||||||
|
#else
|
||||||
|
__RCSID("$NetBSD: murmurhash.c,v 1.3 2012/07/09 21:25:46 rmind Exp $");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "namespace.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/hash.h>
|
#include <sys/hash.h>
|
||||||
|
|
||||||
#if defined(_KERNEL) || defined(_STANDALONE)
|
#ifdef __weak_alias
|
||||||
__KERNEL_RCSID(0, "$NetBSD: murmurhash.c,v 1.2 2012/07/08 13:42:29 rmind Exp $");
|
__weak_alias(murmurhash2,_murmurhash2)
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD: murmurhash.c,v 1.2 2012/07/08 13:42:29 rmind Exp $");
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint32_t
|
uint32_t
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: namespace.h,v 1.154 2012/06/03 21:42:46 joerg Exp $ */
|
/* $NetBSD: namespace.h,v 1.155 2012/07/09 21:25:46 rmind Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
|
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
|
||||||
@ -458,6 +458,7 @@
|
|||||||
#define mq_timedreceive _mq_timedreceive
|
#define mq_timedreceive _mq_timedreceive
|
||||||
#define mq_timedsend _mq_timedsend
|
#define mq_timedsend _mq_timedsend
|
||||||
#define mrand48 _mrand48
|
#define mrand48 _mrand48
|
||||||
|
#define murmurhash2 _murmurhash2
|
||||||
#define nc_perror _nc_perror
|
#define nc_perror _nc_perror
|
||||||
#define nc_sperror _nc_sperror
|
#define nc_sperror _nc_sperror
|
||||||
#define nanosleep _nanosleep
|
#define nanosleep _nanosleep
|
||||||
|
Loading…
Reference in New Issue
Block a user