We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2868d commit 25d8060Copy full SHA for 25d8060
include/linux/lockref.h
@@ -34,12 +34,12 @@ struct lockref {
34
};
35
36
37
-extern void lockref_get(struct lockref *);
38
-extern int lockref_put_return(struct lockref *);
+void lockref_get(struct lockref *lockref);
+int lockref_put_return(struct lockref *lockref);
39
bool lockref_get_not_zero(struct lockref *lockref);
40
bool lockref_put_or_lock(struct lockref *lockref);
41
42
-extern void lockref_mark_dead(struct lockref *);
+void lockref_mark_dead(struct lockref *lockref);
43
bool lockref_get_not_dead(struct lockref *lockref);
44
45
/* Must be called under spinlock for reliable results */
0 commit comments