Skip to content
Commit b0e73af7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Jeff Garzik
Browse files

libata-transport.c: local functions should not be exposed globally



Functions not referenced outside of a source file should be marked
static to prevent it from being exposed globally.

This quiets the sparse warnings:

warning: symbol 'ata_is_port' was not declared. Should it be static?
warning: symbol 'ata_is_link' was not declared. Should it be static?
warning: symbol 'ata_is_ata_dev' was not declared. Should it be static?

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 3a8b788f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment