diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-20 03:15:27 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-11-20 10:19:00 +0100 |
commit | 9f1ad299c93112fd9744311aad04d16f46ab2442 (patch) | |
tree | f588f98a5aa9a573427766bdb3c3801d48d9659a /src/tools/oping/oping_server.c | |
parent | 489b3f241667a6a054983625ab49ceb3ea0bf742 (diff) | |
download | ouroboros-9f1ad299c93112fd9744311aad04d16f46ab2442.tar.gz ouroboros-9f1ad299c93112fd9744311aad04d16f46ab2442.zip |
lib: Add library initializers to .init_array
The library initializers with argc and argv arguments were specified
using the __attribute__((constructor)). This is undefined behaviour as
constructors should have no arguments. This is fixed by passing the
functions to the .init_array.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/tools/oping/oping_server.c')
0 files changed, 0 insertions, 0 deletions