mirror of git://sourceware.org/git/glibc.git
{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:
parent
749cd2ca78
commit
9459fe9da0
|
@ -1,6 +1,6 @@
|
||||||
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
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
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Lesser General Public
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -28,7 +28,7 @@ struct inuse_sem
|
||||||
ino_t ino;
|
ino_t ino;
|
||||||
int refcnt;
|
int refcnt;
|
||||||
sem_t *sem;
|
sem_t *sem;
|
||||||
char name[0];
|
char name[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
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
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Lesser General Public
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -29,7 +29,7 @@ struct inuse_sem
|
||||||
ino_t ino;
|
ino_t ino;
|
||||||
int refcnt;
|
int refcnt;
|
||||||
sem_t *sem;
|
sem_t *sem;
|
||||||
char name[0];
|
char name[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue