aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/util/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/util/util.h')
-rw-r--r--Documentation/perf_counter/util/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/perf_counter/util/util.h b/Documentation/perf_counter/util/util.h
index 36e40c38e093..76590a16c271 100644
--- a/Documentation/perf_counter/util/util.h
+++ b/Documentation/perf_counter/util/util.h
@@ -309,6 +309,8 @@ extern ssize_t xread(int fd, void *buf, size_t len);
309extern ssize_t xwrite(int fd, const void *buf, size_t len); 309extern ssize_t xwrite(int fd, const void *buf, size_t len);
310extern int xdup(int fd); 310extern int xdup(int fd);
311extern FILE *xfdopen(int fd, const char *mode); 311extern FILE *xfdopen(int fd, const char *mode);
312extern int xmkstemp(char *template);
313
312static inline size_t xsize_t(off_t len) 314static inline size_t xsize_t(off_t len)
313{ 315{
314 return (size_t)len; 316 return (size_t)len;