summaryrefslogtreecommitdiff
path: root/nptl/semaphoreP.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-16 14:36:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-16 14:51:14 +0100
commit9459fe9da0f981f77ba931790f82e43ac552b73c (patch)
tree0af864d8e7b4407eaff2b80d28381997fdd5f5c4 /nptl/semaphoreP.h
parent749cd2ca7893702f762de9d9852a39973eb044a0 (diff)
downloadglibc-9459fe9da0f981f77ba931790f82e43ac552b73c.tar.gz
{nptl,htl}/semaphoreP.h: clean up
This removes "Contributed by", and uses a C99 flexible array instead of char name[0];
Diffstat (limited to 'nptl/semaphoreP.h')
-rw-r--r--nptl/semaphoreP.h4
1 files changed, 2 insertions, 2 deletions
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[];
};