Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Avoid depending on namespace pollution in stdlib.h.



details:   https://anonhg.NetBSD.org/src/rev/98e9a7faea29
branches:  trunk
changeset: 933541:98e9a7faea29
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue May 26 21:49:29 2020 +0000

description:
Avoid depending on namespace pollution in stdlib.h.

diffstat:

 include/stdlib.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 50807e656e5a -r 98e9a7faea29 include/stdlib.h
--- a/include/stdlib.h  Tue May 26 19:55:43 2020 +0000
+++ b/include/stdlib.h  Tue May 26 21:49:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.121 2019/01/05 09:16:46 maya Exp $        */
+/*     $NetBSD: stdlib.h,v 1.122 2020/05/26 21:49:29 joerg Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -272,7 +272,7 @@
 void    arc4random_stir(void);
 void    arc4random_buf(void *, size_t);
 uint32_t arc4random_uniform(uint32_t);
-void    arc4random_addrandom(u_char *, int);
+void    arc4random_addrandom(unsigned char *, int);
 char   *getbsize(int *, long *);
 char   *cgetcap(char *, const char *, int);
 int     cgetclose(void);



Home | Main Index | Thread Index | Old Index