This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH COMMITTED: Add space in libiberty to avoid makeinfo warning
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 29 Oct 2010 16:09:53 -0700
- Subject: PATCH COMMITTED: Add space in libiberty to avoid makeinfo warning
This patch adds a space after setproctitle in the @deftypefn comment in
setproctitle.c. The comment is copied into functions.texi, and the
missing space causes makeinfo to issue this warning:
../../trunk/libiberty//functions.texi:1327: warning: `(' follows defined name `setproctitle' instead of whitespace.
Bootstrapped on x86_64-unknown-linux-gnu.
Committed as obvious.
Ian
2010-10-29 Ian Lance Taylor <iant@google.com>
* setproctitle.c: Add space after function name in @deftypefn
comment.
* functions.texi: Rebuild.
Index: setproctitle.c
===================================================================
--- setproctitle.c (revision 166076)
+++ setproctitle.c (working copy)
@@ -27,7 +27,7 @@ Boston, MA 02110-1301, USA. */
/*
-@deftypefn Supplemental void setproctitle(const char *@var{fmt} ...)
+@deftypefn Supplemental void setproctitle (const char *@var{fmt} ...)
Set the title of a process to @var{fmt}. va args not supported for now,
but defined for compatibility with BSD.
Index: functions.texi
===================================================================
--- functions.texi (revision 166076)
+++ functions.texi (working copy)
@@ -1147,7 +1147,7 @@ environment. This implementation is not
@end deftypefn
@c setproctitle.c:30
-@deftypefn Supplemental void setproctitle(const char *@var{fmt} ...)
+@deftypefn Supplemental void setproctitle (const char *@var{fmt} ...)
Set the title of a process to @var{fmt}. va args not supported for now,
but defined for compatibility with BSD.