From 8f386aadec70624f13b48dfddc4a8f689ccc505f Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 19 Dec 2022 15:05:53 +0100 Subject: 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'. --- gcc/config/nvptx/nvptx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1