Skip to contentSkip to conversation

Staging: android: Remove extern from function prototypes in .h files

PATCH New Bojan Prtvar 1 participant 1 message Sep 2, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: android: Remove extern from function prototypes in .h files

checkpatch.pl complains that extern prototypes should be avoided in .h files

---
 drivers/staging/android/timed_output.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/android/timed_output.h +2 -2
index ec907ab..905c7cc 100644
@@ -31,7 +31,7 @@ struct timed_output_dev {
 	int		state;
 };
 
-extern int timed_output_dev_register(struct timed_output_dev *dev);
-extern void timed_output_dev_unregister(struct timed_output_dev *dev);
+int timed_output_dev_register(struct timed_output_dev *dev);
+void timed_output_dev_unregister(struct timed_output_dev *dev);
 
 #endif
Signature · 1 line
1.7.1