AW: [PATCH 17/24] get_phys_pages.3: Write 'long' instead of 'long int'

From: Walter Harms
Date: Fri Sep 11 2020 - 12:25:41 EST




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
________________________________________
Von: linux-man-owner@xxxxxxxxxxxxxxx [linux-man-owner@xxxxxxxxxxxxxxx] im Auftrag von Alejandro Colomar [colomar.6.4.3@xxxxxxxxx]
Gesendet: Donnerstag, 10. September 2020 23:13
An: mtk.manpages@xxxxxxxxx
Cc: linux-man@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Alejandro Colomar
Betreff: [PATCH 17/24] get_phys_pages.3: Write 'long' instead of 'long int'

For consistency.

Most man pages use 'long' instead of 'long int'.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx>
---
man3/get_phys_pages.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/get_phys_pages.3 b/man3/get_phys_pages.3
index 4a9177dfd..97ba625b7 100644
--- a/man3/get_phys_pages.3
+++ b/man3/get_phys_pages.3
@@ -30,8 +30,8 @@ page counts
.nf
.B "#include <sys/sysinfo.h>"
.PP
-.B long int get_phys_pages(void);
-.B long int get_avphys_pages(void);
+.B long get_phys_pages(void);
+.B long get_avphys_pages(void);
.fi
.SH DESCRIPTION
The function
--
2.28.0