summaryrefslogtreecommitdiff
path: root/linux-core/drm_auth.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-06-04 06:18:11 +0000
committerDave Airlie <airlied@linux.ie>2005-06-04 06:18:11 +0000
commit805a07714f05833a1ed4e4a01f8086fafd46e849 (patch)
tree26bd7bdef728bbb46f601d8e3d9e97798f39af8e /linux-core/drm_auth.c
parent83cb1504498ad2ca327bc8341bc21ed6cdb54756 (diff)
misc cleanup patch from Adrian Bunk
Diffstat (limited to 'linux-core/drm_auth.c')
-rw-r--r--linux-core/drm_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_auth.c b/linux-core/drm_auth.c
index 7393e99b..e3293089 100644
--- a/linux-core/drm_auth.c
+++ b/linux-core/drm_auth.c
@@ -87,7 +87,7 @@ static drm_file_t *drm_find_file(drm_device_t * dev, drm_magic_t magic)
* associated the magic number hash key in drm_device::magiclist, while holding
* the drm_device::struct_sem lock.
*/
-int drm_add_magic(drm_device_t * dev, drm_file_t * priv, drm_magic_t magic)
+static int drm_add_magic(drm_device_t * dev, drm_file_t * priv, drm_magic_t magic)
{
int hash;
drm_magic_entry_t *entry;
@@ -125,7 +125,7 @@ int drm_add_magic(drm_device_t * dev, drm_file_t * priv, drm_magic_t magic)
* Searches and unlinks the entry in drm_device::magiclist with the magic
* number hash key, while holding the drm_device::struct_sem lock.
*/
-int drm_remove_magic(drm_device_t * dev, drm_magic_t magic)
+static int drm_remove_magic(drm_device_t * dev, drm_magic_t magic)
{
drm_magic_entry_t *prev = NULL;
drm_magic_entry_t *pt;