From: Thomas Schwinge Date: Mon, 19 Dec 2022 14:05:53 +0000 (+0100) Subject: nvptx: Tag 'gcc/config/nvptx/nvptx.cc:nvptx_record_needed_fndecl' as 'static' X-Git-Tag: basepoints/gcc-16~2002 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f386aadec70624f13b48dfddc4a8f689ccc505f;p=thirdparty%2Fgcc.git 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'. --- diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc index af952a29796..64de2b1cc9b 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)