commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd,commited] {nptl,htl}/semaphoreP.h: clean up


From: Samuel Thibault
Subject: [hurd,commited] {nptl,htl}/semaphoreP.h: clean up
Date: Wed, 16 Dec 2020 14:51:35 +0100

This removes "Contributed by", and uses a C99 flexible array instead of
char name[0];
---
 htl/semaphoreP.h  | 4 ++--
 nptl/semaphoreP.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/htl/semaphoreP.h b/htl/semaphoreP.h
index 22732122b0..8d8d9d8897 100644
--- a/htl/semaphoreP.h
+++ b/htl/semaphoreP.h
@@ -1,6 +1,6 @@
 /* Copyright (C) 2002-2020 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
+   Ulrich Drepper <drepper@redhat.com>, 2002.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -28,7 +28,7 @@ struct inuse_sem
   ino_t ino;
   int refcnt;
   sem_t *sem;
-  char name[0];
+  char name[];
 };
 
 
diff --git a/nptl/semaphoreP.h b/nptl/semaphoreP.h
index 2f8757e1f0..8d67e41cf3 100644
--- a/nptl/semaphoreP.h
+++ b/nptl/semaphoreP.h
@@ -1,6 +1,6 @@
 /* Copyright (C) 2002-2020 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
+   Ulrich Drepper <drepper@redhat.com>, 2002.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -29,7 +29,7 @@ struct inuse_sem
   ino_t ino;
   int refcnt;
   sem_t *sem;
-  char name[0];
+  char name[];
 };
 
 
-- 
2.29.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]