mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
{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:
@@ -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[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user