lkml.org 
[lkml]   [2020]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: AW: [PATCH 17/24] get_phys_pages.3: Write 'long' instead of 'long int'
From
Date


On 2020-09-11 15:07, Walter Harms wrote:
>
>
> sys/sysinfo.h:extern long int get_phys_pages (void)
>
> for the real world i would say that long int == long but for the same reason
> i would say what the include says and stay away from discussions.
>
> jm2c,
> wh

I think that the man-pages don't need to follow other projects'
inconsistencies. 'long int' == 'long', so I think it's better to be
consistent here and hope that the other projects do that too.

A newbie may see 'long int' and 'long' used differently in the man-pages
and wonder that there might be a good reason for that to happen, and
won't understand why.

So I stand by this patch.

Cheers,

Alex

\
 
 \ /
  Last update: 2020-09-11 21:24    [W:0.113 / U:4.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site