[SCM] Samba Shared Repository - branch master updated

Martin Schwenke martins at samba.org
Tue Jul 2 23:53:01 UTC 2024


The branch, master has been updated
       via  056dd415dda ctdb-failover: omit "restrict" optimization keyword
      from  6ba69da8d37 ctdb/wscript: Remove long pending unsupported option

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 056dd415ddad4ebdb73acb531dd339a03ca8ce51
Author: Björn Baumbach <bb at sernet.de>
Date:   Tue Jul 2 18:04:40 2024 +0200

    ctdb-failover: omit "restrict" optimization keyword
    
    Fails with some compilers with
    
    error: expected ';', ',' or ')' before 'lineptr'
    
    Signed-off-by: Björn Baumbach <bb at sernet.de>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    Reviewed-by: Jo Sutton <josutton at catalyst.net.nz>
    Reviewed-by: Martin Schwenke <martin at meltin.net>
    
    Autobuild-User(master): Martin Schwenke <martins at samba.org>
    Autobuild-Date(master): Tue Jul  2 23:52:37 UTC 2024 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 ctdb/failover/statd_callout.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/failover/statd_callout.c b/ctdb/failover/statd_callout.c
index 9a85cad7fe2..2f703560b29 100644
--- a/ctdb/failover/statd_callout.c
+++ b/ctdb/failover/statd_callout.c
@@ -55,9 +55,9 @@ struct {
 	};
 } config;
 
-static bool getline_strip(char **restrict lineptr,
+static bool getline_strip(char **lineptr,
 			  size_t *n,
-			  FILE *restrict stream)
+			  FILE *stream)
 {
 	bool was_null;
 	int ret;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list