From: Bruno Haible Date: Thu, 6 Mar 2008 12:55:53 +0000 (+0100) Subject: Move the documentation of module 'func' to its own file. X-Git-Tag: v0.1~7689 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=4cfdf4b1308e0258805eddce6b26f33c24398bfb;p=gnulib.git Move the documentation of module 'func' to its own file. --- diff --git a/ChangeLog b/ChangeLog index e45a65de2..1d70c516c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-06 Bruno Haible + + * doc/func.texi: New file, extracted from doc/gnulib.texi. + * doc/gnulib.texi: Include it. + 2008-03-06 Simon Josefsson * modules/func (License): Change license to unlimited; there was diff --git a/doc/func.texi b/doc/func.texi new file mode 100644 index 000000000..7a843c374 --- /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 +#include /* for printf */ + +int main (void) +@{ + printf ("%s: hello world\n", __func__); +@} +@end smallexample diff --git a/doc/gnulib.texi b/doc/gnulib.texi index ddccc5c2f..577c1bd26 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -5826,23 +5826,8 @@ generated automatically. @include regexprops-generic.texi -@node func -@section func +@include func.texi -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 -#include /* for printf */ - -int main (void) -@{ - printf ("%s: hello world\n", __func__); -@} -@end smallexample @node GNU Free Documentation License @appendix GNU Free Documentation License