use internal names for randomid()
This commit is contained in:
parent
6ede1ad4a2
commit
1ecc9b581c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: randomid.c,v 1.4 2003/09/11 11:24:33 itojun Exp $ */
|
||||
/* $NetBSD: randomid.c,v 1.5 2003/09/13 21:27:43 itojun Exp $ */
|
||||
/* $KAME: ip6_id.c,v 1.8 2003/09/06 13:41:06 itojun Exp $ */
|
||||
/* $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */
|
||||
|
||||
|
@ -88,9 +88,11 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: randomid.c,v 1.4 2003/09/11 11:24:33 itojun Exp $");
|
||||
__RCSID("$NetBSD: randomid.c,v 1.5 2003/09/13 21:27:43 itojun Exp $");
|
||||
#endif
|
||||
|
||||
#include "namespace.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -98,6 +100,12 @@ __RCSID("$NetBSD: randomid.c,v 1.4 2003/09/11 11:24:33 itojun Exp $");
|
|||
#include <errno.h>
|
||||
#include <randomid.h>
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(randomid,_randomid)
|
||||
__weak_alias(randomid_new,_randomid_new)
|
||||
__weak_alias(randomid_delete,_randomid_delete)
|
||||
#endif
|
||||
|
||||
struct randomconf {
|
||||
const int rc_bits; /* resulting bits */
|
||||
const u_int32_t rc_max; /* Uniq cycle, avoid blackjack prediction */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: namespace.h,v 1.79 2003/06/27 05:21:54 tshiozak Exp $ */
|
||||
/* $NetBSD: namespace.h,v 1.80 2003/09/13 21:27:45 itojun Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
|
||||
|
@ -378,6 +378,9 @@
|
|||
#define qdiv _qdiv
|
||||
#define radixsort _radixsort
|
||||
#define random _random
|
||||
#define randomid _randomid
|
||||
#define randomid_new _randomid_new
|
||||
#define randomid_delete _randomid_delete
|
||||
#define readdir _readdir
|
||||
#define readdir_r _readdir_r
|
||||
#define realpath _realpath
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: __rpc_getxid.c,v 1.2 2003/09/09 22:16:58 itojun Exp $ */
|
||||
/* $NetBSD: __rpc_getxid.c,v 1.3 2003/09/13 21:27:46 itojun Exp $ */
|
||||
/* $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -32,11 +32,13 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: __rpc_getxid.c,v 1.2 2003/09/09 22:16:58 itojun Exp $");
|
||||
__RCSID("$NetBSD: __rpc_getxid.c,v 1.3 2003/09/13 21:27:46 itojun Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "namespace.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <randomid.h>
|
||||
#include <rpc/rpc.h>
|
||||
|
|
Loading…
Reference in New Issue