{nptl,htl}/semaphoreP.h: clean up

This removes "Contributed by", and uses a C99 flexible array instead of
char name[0];
This commit is contained in:
Samuel Thibault 2020-12-16 14:36:19 +01:00
parent 749cd2ca78
commit 9459fe9da0
2 changed files with 4 additions and 4 deletions

View File

@ -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[];
};

View File

@ -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[];
};