This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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. 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]