artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f15cb7
)
drm: apple: mark local functions static
author
kettenis
<kettenis@openbsd.org>
Tue, 23 Jan 2024 14:25:07 +0000
(14:25 +0000)
committer
kettenis
<kettenis@openbsd.org>
Tue, 23 Jan 2024 14:25:07 +0000
(14:25 +0000)
From Arnd Bergmann
c23a90c49c665bfb61f0200e966cef042063e364
in jannau's bits/200-dcp
sys/dev/pci/drm/apple/parser.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/apple/parser.c
b/sys/dev/pci/drm/apple/parser.c
index
44aad9a
..
ea9f40b
100644
(file)
--- 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);