summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 09:09:16 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 09:13:25 -0800
commit56a765d5dfc300b1400fd28d0a7187d50e808488 (patch)
tree2ebb0530cfc1a6c6967b4c9ef2c42e2754a3a73a
parentef910d80d1065a436189daaffc57dd5bf8e5fff6 (diff)
Handle 2 -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/dummy_driver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 5f56d9d..e5f742a 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -283,7 +283,8 @@ dummy_output_get_modes (xf86OutputPtr output)
return pModes;
}
-void dummy_output_register_prop(xf86OutputPtr output, Atom prop, uint64_t value)
+static void
+dummy_output_register_prop(xf86OutputPtr output, Atom prop, uint64_t value)
{
INT32 dims_range[2] = { 0, 65535 };
int err;
@@ -301,7 +302,8 @@ void dummy_output_register_prop(xf86OutputPtr output, Atom prop, uint64_t value)
"RRChangeOutputProperty error, %d\n", err);
}
-void dummy_output_create_resources(xf86OutputPtr output)
+static void
+dummy_output_create_resources(xf86OutputPtr output)
{
if (!ValidAtom(width_mm_atom))
width_mm_atom = MakeAtom(WIDTH_MM_NAME, strlen(WIDTH_MM_NAME), 1);