]> git.ipfire.org Git - thirdparty/glibc.git/commit
manual: fix missing include in sigh1 example.
authorCollin Funk <collin.funk1@gmail.com>
Sun, 28 Sep 2025 22:20:37 +0000 (15:20 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 30 Sep 2025 00:01:54 +0000 (17:01 -0700)
commitdd4e8ae64e70740ec76220b101e5b589d305b9db
tree034be8a936d25f1394e28fa2d6431c5e055f5b69
parent8a80c7f9d7424a6c70c728dd588c9a47171e88fd
manual: fix missing include in sigh1 example.

Previously this file would fail to compile with the following error:

    $ gcc manual/examples/sigh1.c
    manual/examples/sigh1.c: In function ‘main’:
    manual/examples/sigh1.c:46:3: error: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration]
       46 |   alarm (2);
          |   ^~~~~

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
manual/examples/sigh1.c