Цей веб-сайт працює краще з JavaScript.
Головна
Огляд
Довідка
Увійти
rinri
/
slstatus
Слідкувати
1
В обрані
0
Форк
0
Код
Проблеми
0
Запити на злиття
0
Релізи
0
Вікі
Активність
Переглянути джерело
Unify header includes
- Sort Alphabetically - Same indentation for preprocessor clauses
master
Aaron Marcher
6 роки тому
джерело
fbbe300f4d
коміт
16a97fbca1
6 змінених файлів
з
11 додано
та
11 видалено
Розділений перегляд
Параметри порівняння
Показати статистику
Завантажити патч
Завантажити файл різниці
+2
-2
components/ip.c
+1
-1
components/num_files.c
+2
-2
components/ram.c
+1
-1
components/temperature.c
+4
-4
components/volume.c
+1
-1
components/wifi.c
+ 2
- 2
components/ip.c
Переглянути файл
@@ -5,8 +5,8 @@
#include <stdio.h>
#include <string.h>
#if defined(__OpenBSD__)
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/socket.h>
#endif
#include "../util.h"
+ 1
- 1
components/num_files.c
Переглянути файл
@@ -1,6 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <dirent.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
+ 2
- 2
components/ram.c
Переглянути файл
@@ -54,9 +54,9 @@
NULL;
}
#elif defined(__OpenBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
#include <stdlib.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <unistd.h>
inline int
+ 1
- 1
components/temperature.c
Переглянути файл
@@ -16,9 +16,9 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/sensors.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/sensors.h>
const char *
temp(const char *null)
+ 4
- 4
components/volume.c
Переглянути файл
@@ -1,14 +1,14 @@
/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#if defined(__OpenBSD__)
# include <soundcard.h>
#include <soundcard.h>
#else
#
include <sys/soundcard.h>
#include <sys/soundcard.h>
#endif
#include <sys/ioctl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "../util.h"
+ 1
- 1
components/wifi.c
Переглянути файл
@@ -2,10 +2,10 @@
#if defined(__linux__)
#include <errno.h>
#include <ifaddrs.h>
#include <limits.h>
#include <linux/wireless.h>
#include <sys/socket.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include <sys/ioctl.h>
#include <unistd.h>
Писати
Попередній перегляд
Завантаження…
Відмінити
Зберегти