changeset 9764:d0febee6878d

Move the documentation of module 'func' to its own file.
author Bruno Haible <bruno@clisp.org>
date Thu, 06 Mar 2008 13:55:53 +0100
parents e6074e5f4cbf
children b83130da6c6a
files ChangeLog doc/func.texi doc/gnulib.texi
diffstat 3 files changed, 24 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+	* doc/func.texi: New file, extracted from doc/gnulib.texi.
+	* doc/gnulib.texi: Include it.
+
 2008-03-06  Simon Josefsson  <simon@josefsson.org>
 
 	* modules/func (License): Change license to unlimited; there was
new file mode 100644
--- /dev/null
+++ b/doc/func.texi
@@ -0,0 +1,17 @@
+@node func
+@section func
+
+The @code{func} module makes sure that you can use the predefined
+identifier @code{__func__} as defined by C99 in your code.
+
+A small example is:
+
+@smallexample
+#include <config.h>
+#include <stdio.h> /* for printf */
+
+int main (void)
+@{
+    printf ("%s: hello world\n", __func__);
+@}
+@end smallexample
--- a/doc/gnulib.texi
+++ b/doc/gnulib.texi
@@ -5826,23 +5826,8 @@
 
 @include regexprops-generic.texi
 
-@node func
-@section func
-
-The @code{func} module makes sure that you can use the predefined
-identifier @code{__func__} as defined by C99 in your code.
-
-A small example is:
-
-@smallexample
-#include <config.h>
-#include <stdio.h> /* for printf */
-
-int main (void)
-@{
-    printf ("%s: hello world\n", __func__);
-@}
-@end smallexample
+@include func.texi
+
 
 @node GNU Free Documentation License
 @appendix GNU Free Documentation License