aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-12-19 15:05:53 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2025-02-15 10:43:12 +0100
commit8f386aadec70624f13b48dfddc4a8f689ccc505f (patch)
tree5ea280e9820a49287b857c4e5fe8b60993f9a010 /gcc
parent25a103feb3056bc483a1558af315be452060035b (diff)
downloadgcc-8f386aadec70624f13b48dfddc4a8f689ccc505f.zip
gcc-8f386aadec70624f13b48dfddc4a8f689ccc505f.tar.gz
gcc-8f386aadec70624f13b48dfddc4a8f689ccc505f.tar.bz2
nvptx: Tag 'gcc/config/nvptx/nvptx.cc:nvptx_record_needed_fndecl' as 'static'
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'.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/nvptx/nvptx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc
index af952a2..64de2b1 100644
--- a/gcc/config/nvptx/nvptx.cc
+++ b/gcc/config/nvptx/nvptx.cc
@@ -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)