Thread (3 messages) flat view 3 messages, 3 authors, 2014-08-19
STALE4403d

[PATCH v1] Arm64: Remove unnecessary keyword 'extern' from proc-fns.h

From: geoff@infradead.org (Geoff Levand)
Date: 2014-08-19 19:42:51

Hi Arun,

On Tue, 2014-08-19 at 14:28 +0530, Arun Chandran wrote:
As the functions have external linkage by default, the extern
keyword is irrelevant here.
extern is used to say that the storage of a variable is done
somewhere else.  It marks a statement as a declaration when
there is ambiguity about if the statement is a definition or
declaration.  Since function prototypes are not definitions,
extern doesn't have any effect on them.  It is not really
related to linkage or scope.

-Geoff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help