OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / draft / man3 / tsearch.3
index b9e38aa..365f520 100644 (file)
@@ -36,7 +36,7 @@
 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
 .\" Updated 2013-05-06, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH TSEARCH 3 2012\-08\-03 GNU "Linux Programmer's Manual"
+.TH TSEARCH 3 2014\-01\-05 GNU "Linux Programmer's Manual"
 .SH 名前
 tsearch, tfind, tdelete, twalk, tdestroy \- 二分木 (binary tree) の操作
 .SH 書式
@@ -121,9 +121,9 @@ SVr4, POSIX.1\-2001.  関数 \fBtdestroy\fP()  は GNU の拡張である。
 #include <stdio.h>
 #include <time.h>
 
-void *root = NULL;
+static void *root = NULL;
 
-void *
+static void *
 xmalloc(unsigned n)
 {
     void *p;
@@ -134,7 +134,7 @@ xmalloc(unsigned n)
     exit(EXIT_FAILURE);
 }
 
-int
+static int
 compare(const void *pa, const void *pb)
 {
     if (*(int *) pa < *(int *) pb)
@@ -144,7 +144,7 @@ compare(const void *pa, const void *pb)
     return 0;
 }
 
-void
+static void
 action(const void *nodep, const VISIT which, const int depth)
 {
     int *datap;
@@ -189,6 +189,6 @@ main(void)
 .SH 関連項目
 \fBbsearch\fP(3), \fBhsearch\fP(3), \fBlsearch\fP(3)  \fBqsort\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。