diff options
author | Julia Lawall <julia@diku.dk> | 2009-08-14 22:10:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:24 -0700 |
commit | a5ca2dfc4ebd33e18f981f562833c39efdc2585c (patch) | |
tree | b3b45805fdf7b1cedc53a7231574f9d3788e6550 /drivers/staging/android | |
parent | e7fcbf0e51e8a8bac9d20ac19f8ba62c8a256cc5 (diff) |
staging: Make some structures static
This was done using a semantic patch (http://coccinelle.lip6.fr/) that
checks that the declaration is not inside a function definition, that the
defined variable is not exported using EXPORTED_SYMBOL, etc, and that the
defined variable does not occur in any other file. If these conditions
hold, static is added before the declaration.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/binder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index c6dc58eee40..99010d4b304 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c @@ -164,8 +164,8 @@ struct binder_transaction_log { int full; struct binder_transaction_log_entry entry[32]; }; -struct binder_transaction_log binder_transaction_log; -struct binder_transaction_log binder_transaction_log_failed; +static struct binder_transaction_log binder_transaction_log; +static struct binder_transaction_log binder_transaction_log_failed; static struct binder_transaction_log_entry *binder_transaction_log_add( struct binder_transaction_log *log) |