lkml.org 
[lkml]   [2017]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v8 2/6] time: sync read_boot_clock64() with persistent clock
> why we should remove the *extern* keyword?

Hi Dou,

While, I am not sure why it was decided to stop using externs in
headers, this is a warning printed by scripts/checkpatch.pl:

CHECK: extern prototypes should be avoided in .h files

To have a clean checkpatch output I removed externs.

Pavel

\
 
 \ /
  Last update: 2017-11-14 20:57    [W:1.351 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site