Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37769756
en ru br
ALT Linux repos
S:6.5-alt1
5.0: 2.6.27-alt3
4.1: 2.6.24-alt4
4.0: 2.6.17-alt6
3.0: 2.4.25-alt2

Group :: Development/Kernel
RPM: glibc-kernheaders

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0002-uapi-fix-linux-sysctl.h-Obsolete-types-detected-warn.patch
Download


From f866713040491a01d486da14145cc0f34dfdd7a8 Mon Sep 17 00:00:00 2001
From: "Dmitry V. Levin" <ldv@altlinux.org>
Date: Thu, 14 Mar 2019 13:03:56 +0000
Subject: [PATCH 2/6] uapi: fix linux/sysctl.h "Obsolete types detected"
 warning
glibc misc/check-installed-headers-c test before commit glibc-2.30~290
was confused by "ulong" in comments, so replace ulong with unsigned long.
---
 include/uapi/linux/sysctl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
index 95e691d9c462..a4c1e2868917 100644
--- a/include/uapi/linux/sysctl.h
+++ b/include/uapi/linux/sysctl.h
@@ -157,7 +157,7 @@ enum
 	KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */
 	KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
 	KERN_PANIC_ON_WARN=77, /* int: call panic() in WARN() functions */
-	KERN_PANIC_PRINT=78, /* ulong: bitmask to print system info on panic */
+	KERN_PANIC_PRINT=78, /* unsigned long: bitmask to print system info on panic */
 };
 
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin