changeset 32179:4b8df475bb5e

Use void in definition of function with no argument for strict C compatibility. * liboctave/wrappers/time-wrappers.c (octave_gettime_ns_wrapper): Use void in definition of functions. This silences a warning from Clang.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 05 Jul 2023 19:59:50 +0200
parents 01ab19a0e2b9
children ca72944d16a5
files liboctave/wrappers/time-wrappers.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/wrappers/time-wrappers.c	Sun Jun 25 00:56:43 2023 +0200
+++ b/liboctave/wrappers/time-wrappers.c	Wed Jul 05 19:59:50 2023 +0200
@@ -160,7 +160,7 @@
 #include "gethrxtime.h"
 
 long long
-octave_gettime_ns_wrapper ()
+octave_gettime_ns_wrapper (void)
 {
   return gethrxtime ();
 }