Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:zSystems
libdlm
0010-dlm_controld-constify-timeval-of-dt_usec.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0010-dlm_controld-constify-timeval-of-dt_usec.patch of Package libdlm
From f34212f436166cbf6170a698c765a6f76fcc7d7c Mon Sep 17 00:00:00 2001 From: Alexander Aring <aahringo@redhat.com> Date: Mon, 30 Jan 2023 13:39:02 -0500 Subject: [PATCH 10/24] dlm_controld: constify timeval of dt_usec() Those parameters are only used read only. We don't change any data where those pointers point to. --- dlm_controld/plock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlm_controld/plock.c b/dlm_controld/plock.c index 462c921220a4..8b052a946f8b 100644 --- a/dlm_controld/plock.c +++ b/dlm_controld/plock.c @@ -198,7 +198,7 @@ static unsigned long time_diff_ms(struct timeval *begin, struct timeval *end) return (result.tv_sec * 1000) + (result.tv_usec / 1000); } -static uint64_t dt_usec(struct timeval *start, struct timeval *stop) +static uint64_t dt_usec(const struct timeval *start, const struct timeval *stop) { uint64_t dt; -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor