From 805a07714f05833a1ed4e4a01f8086fafd46e849 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 4 Jun 2005 06:18:11 +0000 Subject: misc cleanup patch from Adrian Bunk --- linux-core/drm_lock.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'linux-core/drm_lock.c') diff --git a/linux-core/drm_lock.c b/linux-core/drm_lock.c index 048f084f..5557f30f 100644 --- a/linux-core/drm_lock.c +++ b/linux-core/drm_lock.c @@ -35,6 +35,10 @@ #include "drmP.h" +static int drm_lock_transfer(drm_device_t * dev, + __volatile__ unsigned int *lock, unsigned int context); +static int drm_notifier(void *priv); + /** * Lock ioctl. * @@ -224,7 +228,7 @@ int drm_lock_take(__volatile__ unsigned int *lock, unsigned int context) * Resets the lock file pointer. * Marks the lock as held by the given context, via the \p cmpxchg instruction. */ -int drm_lock_transfer(drm_device_t * dev, +static int drm_lock_transfer(drm_device_t * dev, __volatile__ unsigned int *lock, unsigned int context) { unsigned int old, new, prev; @@ -280,7 +284,7 @@ int drm_lock_free(drm_device_t * dev, * \return one if the signal should be delivered normally, or zero if the * signal should be blocked. */ -int drm_notifier(void *priv) +static int drm_notifier(void *priv) { drm_sigdata_t *s = (drm_sigdata_t *) priv; unsigned int old, new, prev; -- cgit v1.2.3