From: Samuel Thibault Date: Wed, 16 Dec 2020 13:36:19 +0000 (+0100) Subject: {nptl,htl}/semaphoreP.h: clean up X-Git-Tag: glibc-2.33~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9459fe9da0f981f77ba931790f82e43ac552b73c;p=thirdparty%2Fglibc.git {nptl,htl}/semaphoreP.h: clean up This removes "Contributed by", and uses a C99 flexible array instead of char name[0]; --- diff --git a/htl/semaphoreP.h b/htl/semaphoreP.h index 22732122b01..8d8d9d88979 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 , 2002. + Ulrich Drepper , 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 2f8757e1f07..8d67e41cf38 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 , 2002. + Ulrich Drepper , 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[]; };