/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.13
src/kernel_timespec.h
27 строк
541 B
Dmitry V. Levin
kernel_timespec: fix -Wundef warnings
09 июн 2021, 11:01
09 июн 2021, 11:01
6ed8209
Код
Авторство
О чём код?
/* * Copyright (c) 2019-2021 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef STRACE_KERNEL_TIMESPEC_H # define STRACE_KERNEL_TIMESPEC_H # include "arch_defs.h" typedef struct { long long tv_sec; long long tv_nsec; } kernel_timespec64_t; # if HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_TIMESPEC32 typedef struct { int tv_sec; int tv_nsec; } kernel_timespec32_t; # endif /* HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_TIMESPEC32 */ #endif /* !STRACE_KERNEL_TIMESPEC_H */