NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
Find a file
Alejandro Colomar 0b79735b50 Added NXT_MAYBE_UNUSED for __attribute__((__unused__)).
When testing some configurations of compilers and OSes, I noticed
that clang(1) 13 on Debian caused a function to be compiled but
unused, and the compiler triggered a compile error.

To avoid that error, use __attribute__((__unused__)).  Let's call
our wrapper NXT_MAYBE_UNUSED, since it describes itself more
precisely than the GCC attribute name.  It's also the name that
C2x (likely C23) has given to the standard attribute, which is
[[maybe_unused]], so it's also likely to be more readable because
of that name being in ISO C.
2022-04-27 01:14:22 +02:00
auto Added NXT_MAYBE_UNUSED for __attribute__((__unused__)). 2022-04-27 01:14:22 +02:00
docs Workaround for the warning in nxt_realloc() on GCC 12. 2022-02-22 19:18:18 +08:00
go Tests: using modules in Go. 2022-01-10 16:07:31 +03:00
pkg Updated copyright notice. 2022-02-15 18:21:10 +03:00
src Added NXT_MAYBE_UNUSED for __attribute__((__unused__)). 2022-04-27 01:14:22 +02:00
test Tests: added check for zombie processes. 2022-04-12 04:16:00 +01:00
.hgignore Added .hgignore file. 2020-09-18 19:37:56 +01:00
.hgtags Unit 1.26.1 release. 2021-12-02 18:36:28 +03:00
CHANGES Added version 1.26.1 CHANGES. 2021-12-02 18:22:57 +03:00
configure Printing version in "./configure" output. 2021-12-03 03:11:06 +03:00
LICENSE Added LICENSE and NOTICE files. 2017-09-06 18:26:37 +03:00
NOTICE Updated copyright notice. 2022-02-15 18:21:10 +03:00
README README: added project name to the beginning. 2017-09-19 19:05:03 +03:00
version Version bump. 2021-11-22 07:23:07 +03:00

NGINX Unit
----------

The documentation and binary packages are available online:

  http://unit.nginx.org

The source code is provided under the terms of Apache License 2.0:

  http://hg.nginx.org/unit

Please ask questions, report issues, and send patches to the mailing list:

  unit@nginx.org (http://mailman.nginx.org/mailman/listinfo/unit)

or via Github:

  https://github.com/nginx/unit

--
NGINX, Inc.
http://nginx.com