]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nvptx: Tag 'gcc/config/nvptx/nvptx.cc:nvptx_record_needed_fndecl' as 'static'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 19 Dec 2022 14:05:53 +0000 (15:05 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Sat, 15 Feb 2025 09:43:12 +0000 (10:43 +0100)
As of Subversion r231013 (Git commit 00e5241831c1227615a45b7bcba29c393671cb3f)
"[PTX] Another libcall patch", only used 'nvptx_record_needed_fndecl' is
locally.

gcc/
* config/nvptx/nvptx.cc (nvptx_record_needed_fndecl): Tag as
'static'.

gcc/config/nvptx/nvptx.cc

index af952a29796d31ed54f8f33be26b88bdb36ecdbe..64de2b1cc9be6a5c3e2c05eb8b4c007a8ae0cf6b 100644 (file)
@@ -1220,7 +1220,7 @@ nvptx_record_libfunc (rtx callee, rtx retval, rtx pat)
    is prototyped, record it now.  Otherwise record it as needed at end
    of compilation, when we might have more information about it.  */
 
-void
+static void
 nvptx_record_needed_fndecl (tree decl)
 {
   if (TYPE_ARG_TYPES (TREE_TYPE (decl)) == NULL_TREE)