mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-26 11:40:24 +02:00
623030fd0a
clockid_t is declared in time.h but the include is missing. Reordering header files may result in build breakages. Add the include to avoid this. Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
13 lines
250 B
C
13 lines
250 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __PERF_CLOCKID_H
|
|
#define __PERF_CLOCKID_H
|
|
|
|
#include <time.h>
|
|
|
|
struct option;
|
|
int parse_clockid(const struct option *opt, const char *str, int unset);
|
|
|
|
const char *clockid_name(clockid_t clk_id);
|
|
|
|
#endif
|