c6b4356
From 0409c3370ddd08cec10586f6f52fe1fbe3c717ef Mon Sep 17 00:00:00 2001
c6b4356
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
c6b4356
Date: Tue, 24 Jan 2017 16:35:02 +0100
c6b4356
Subject: [PATCH] pthread_once.3p: fix return type of initialize_random()
c6b4356
 function
c6b4356
c6b4356
---
c6b4356
 man-pages-posix-2013-a/man3p/pthread_once.3p | 4 ++--
c6b4356
 1 file changed, 2 insertions(+), 2 deletions(-)
c6b4356
c6b4356
diff --git a/man-pages-posix-2013-a/man3p/pthread_once.3p b/man-pages-posix-2013-a/man3p/pthread_once.3p
c6b4356
index 316b1e9..db83d63 100644
c6b4356
--- a/man-pages-posix-2013-a/man3p/pthread_once.3p
c6b4356
+++ b/man-pages-posix-2013-a/man3p/pthread_once.3p
c6b4356
@@ -86,7 +86,7 @@ on entry to a routine, as follows:
c6b4356
 .nf
c6b4356
 \fB
c6b4356
 static int random_is_initialized = 0;
c6b4356
-extern int initialize_random();
c6b4356
+extern void initialize_random();
c6b4356
 .P
c6b4356
 int random_function()
c6b4356
 {
c6b4356
@@ -125,7 +125,7 @@ becomes:
c6b4356
 \fB
c6b4356
 #include <pthread.h>
c6b4356
 static pthread_once_t random_is_initialized = PTHREAD_ONCE_INIT;
c6b4356
-extern int initialize_random();
c6b4356
+extern void initialize_random();
c6b4356
 .P
c6b4356
 int random_function()
c6b4356
 {
c6b4356
-- 
c6b4356
2.7.4
c6b4356