diff mbox

Make maybe_cast_to_ptrmode function as static

Message ID 1427680593-30995-1-git-send-email-hong.gyu.kim@lge.com
State New
Headers show

Commit Message

Honggyu Kim March 30, 2015, 1:56 a.m. UTC
Hi,

This patch makes maybe_cast_to_ptrmode function in asan.c as static
because the function is not called outside of the file.
Is it okay for trunk?

Honggyu

2015-03-30  Honggyu Kim  <hong.gyu.kim@lge.com>

	* asan.c (maybe_cast_to_ptrmode): Make static.
---
 gcc/asan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gcc/asan.c b/gcc/asan.c
index 9e4a629..c9c8773 100644
--- a/gcc/asan.c
+++ b/gcc/asan.c
@@ -1650,7 +1650,7 @@  maybe_create_ssa_name (location_t loc, tree base, gimple_stmt_iterator *iter,
 /* LEN can already have necessary size and precision;
    in that case, do not create a new variable.  */
 
-tree
+static tree
 maybe_cast_to_ptrmode (location_t loc, tree len, gimple_stmt_iterator *iter,
 		       bool before_p)
 {