From: kettenis Date: Tue, 23 Jan 2024 14:25:07 +0000 (+0000) Subject: drm: apple: mark local functions static X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a5620f7a90bcfc006d78054c2225501f88bc8382;p=openbsd drm: apple: mark local functions static From Arnd Bergmann c23a90c49c665bfb61f0200e966cef042063e364 in jannau's bits/200-dcp --- diff --git a/sys/dev/pci/drm/apple/parser.c b/sys/dev/pci/drm/apple/parser.c index 44aad9a64f9..ea9f40bb7de 100644 --- a/sys/dev/pci/drm/apple/parser.c +++ b/sys/dev/pci/drm/apple/parser.c @@ -694,7 +694,7 @@ int parse_epic_service_init(struct dcp_parse_ctx *handle, const char **name, return ret; } -int parse_sample_rate_bit(struct dcp_parse_ctx *handle, unsigned int *ratebit) +static int parse_sample_rate_bit(struct dcp_parse_ctx *handle, unsigned int *ratebit) { s64 rate; int ret = parse_int(handle, &rate); @@ -715,7 +715,7 @@ int parse_sample_rate_bit(struct dcp_parse_ctx *handle, unsigned int *ratebit) return 0; } -int parse_sample_fmtbit(struct dcp_parse_ctx *handle, u64 *fmtbit) +static int parse_sample_fmtbit(struct dcp_parse_ctx *handle, u64 *fmtbit) { s64 sample_size; int ret = parse_int(handle, &sample_size);