Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1204578

[PATCH 01/19] staging: android: Remove unnecessary externs

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject [PATCH 01/19] staging: android: Remove unnecessary externs
Date 2015-08-11 00:00 +0200
Message-ID <pW3gR-21h-5@gated-at.bofh.it> (permalink)
References <pW3gR-21h-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Using 'extern' is not necessary for function prototypes.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/staging/android/sync.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h
index a21b79f..61f8a3a 100644
--- a/drivers/staging/android/sync.h
+++ b/drivers/staging/android/sync.h
@@ -337,11 +337,11 @@ int sync_fence_wait(struct sync_fence *fence, long timeout);
 
 #ifdef CONFIG_DEBUG_FS
 
-extern void sync_timeline_debug_add(struct sync_timeline *obj);
-extern void sync_timeline_debug_remove(struct sync_timeline *obj);
-extern void sync_fence_debug_add(struct sync_fence *fence);
-extern void sync_fence_debug_remove(struct sync_fence *fence);
-extern void sync_dump(void);
+void sync_timeline_debug_add(struct sync_timeline *obj);
+void sync_timeline_debug_remove(struct sync_timeline *obj);
+void sync_fence_debug_add(struct sync_fence *fence);
+void sync_fence_debug_remove(struct sync_fence *fence);
+void sync_dump(void);
 
 #else
 # define sync_timeline_debug_add(obj)
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 01/19] staging: android: Remove unnecessary externs Joe Perches <joe@perches.com> - 2015-08-11 00:00 +0200

csiph-web