← Commit list

7ce75f44a

Robert Griebl
Robert Griebl
2003-01-02
SOURCE BUG Duration: 2s

Subject

> Eliminate dependancy on kernel header files. Naughty naughty. > Using linux kernel headers is a Bad Thing(tm) and should be > punished. > -Erik

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/hwclock.c+15 -2
@@ -35,8 +35,21 @@
/* Copied from linux/rtc.h to eliminate the kernel dependancy */
-#define RTC_SET_TIME _IOW('p', 0x0a, struct tm) /* Set RTC time */
-#define RTC_RD_TIME _IOR('p', 0x09, struct tm) /* Read RTC time */
+struct linux_rtc_time {
+ int tm_sec;
+ int tm_min;
+ int tm_hour;
+ int tm_mday;
+ int tm_mon;
+ int tm_year;
+ int tm_wday;
+ int tm_yday;
+ int tm_isdst;
+};
+
+
+#define RTC_SET_TIME _IOW('p', 0x0a, struct linux_rtc_time) /* Set RTC time */
+#define RTC_RD_TIME _IOR('p', 0x09, struct linux_rtc_time) /* Read RTC time */
#ifdef CONFIG_FEATURE_HWCLOCK_LONGOPTIONS