From: gnezdo Date: Thu, 27 Apr 2023 23:16:18 +0000 (+0000) Subject: Use __size_t which is available in syslog.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1a08a900896685a628f7ea2108dffbe2f68f8939;p=openbsd Use __size_t which is available in syslog.h Directly including sys/syslog.h would fail due to size_t being unknown. OK millert, miod --- diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 063105952b1..cae25740f74 100644 --- a/sys/sys/syslog.h +++ b/sys/sys/syslog.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syslog.h,v 1.18 2023/04/26 06:52:45 gnezdo Exp $ */ +/* $OpenBSD: syslog.h,v 1.19 2023/04/27 23:16:18 gnezdo Exp $ */ /* $NetBSD: syslog.h,v 1.14 1996/04/03 20:46:44 christos Exp $ */ /* @@ -204,7 +204,7 @@ int setlogmask_r(int, struct syslog_data *); void syslog_r(int, struct syslog_data *, const char *, ...) __attribute__((__format__(__syslog__,3,4))); void vsyslog_r(int, struct syslog_data *, const char *, __va_list); -int sendsyslog(const char *, size_t, int); +int sendsyslog(const char *, __size_t, int); __END_DECLS #else /* !_KERNEL */