From: Thomas Schwinge Date: Wed, 4 Aug 2021 12:01:56 +0000 (+0200) Subject: [documentation] Fix GTY header file example X-Git-Tag: basepoints/gcc-13~5502 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b8443bd1f6cfb194eed6043a3acca4369fd09c;p=thirdparty%2Fgcc.git [documentation] Fix GTY header file example Fix-up for CVS 'gcc/doc/gty.texi' r1.6 (Subversion r55857, Git commit cba57c9d40057fa78efc9a404ab4ae7101a59dcb) "Minor doc updates" gcc/ * doc/gty.texi (Files): Fix GTY header file example. --- diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index aaf97ae9ad5d..b90931dcc9cd 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -628,7 +628,7 @@ header file that should be included in the source file you just changed. The file will be called @file{gt-@var{path}.h} where @var{path} is the pathname relative to the @file{gcc} directory with slashes replaced by @verb{|-|}, so for example the header file to be included in -@file{cp/parser.c} is called @file{gt-cp-parser.c}. The +@file{cp/parser.c} is called @file{gt-cp-parser.h}. The generated header file should be included after everything else in the source file. Don't forget to mention this file as a dependency in the @file{Makefile}!