[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 90/156: autoinit_funcs.h: unified English spelling (pref
From: |
gnunet |
Subject: |
[libmicrohttpd] 90/156: autoinit_funcs.h: unified English spelling (prefer GB over US) |
Date: |
Sun, 28 May 2023 17:52:23 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit 499ba62a1d9a53228ae0a2030de6821bb7aa93c3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 27 20:27:02 2023 +0300
autoinit_funcs.h: unified English spelling (prefer GB over US)
---
src/include/autoinit_funcs.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/include/autoinit_funcs.h b/src/include/autoinit_funcs.h
index bcbe06fc..e2453e40 100644
--- a/src/include/autoinit_funcs.h
+++ b/src/include/autoinit_funcs.h
@@ -20,11 +20,11 @@
/*
General usage is simple: include this header, declare or define two
functions with zero parameters (void) and any return type: one for
- initialization and one for deinitialization, add
+ initialisation and one for deinitialisation, add
_SET_INIT_AND_DEINIT_FUNCS(FuncInitName, FuncDeInitName) to the code
and functions will be automatically called during application startup
and shutdown.
- This is useful for libraries as libraries doesn't have direct access
+ This is useful for libraries as libraries don't have direct access
to main() functions.
Example:
-------------------------------------------------
@@ -48,14 +48,14 @@
_SET_INIT_AND_DEINIT_FUNCS(libInit,libDeinit);
-------------------------------------------------
- If initializer or deinitializer function is not needed, just define
+ If initialiser or deinitialiser function is not needed, just define
it as empty function.
This header should work with GCC, clang, MSVC (2010 or later) and
SunPro / Sun Studio / Oracle Solaris Studio / Oracle Developer Studio
compiler.
Supported C and C++ languages; application, static and dynamic (DLL)
- libraries; non-optimized (Debug) and optimized (Release) compilation
+ libraries; non-optimized (Debug) and optimised (Release) compilation
and linking.
For more information see header code and comments in code.
@@ -104,7 +104,7 @@
not defined both _LIB and _USRDLL if building an application */
/* Define AUTOINIT_FUNCS_DECLARE_STATIC_REG if you need macro declaration
- for registering static initialization functions even if you building DLL */
+ for registering static initialisation functions even if you building DLL */
/* Define AUTOINIT_FUNCS_FORCE_STATIC_REG if you want to set main macro
_SET_INIT_AND_DEINIT_FUNCS to static version even if building a DLL */
@@ -212,8 +212,8 @@
/* Choose main register macro based on language and program type */
/* Assuming that _LIB or _USRDLL is defined for static or DLL-library */
-/* Macro can be used several times to register several initializers */
-/* Once function is registered as initializer, it will be called automatically
+/* Macro can be used several times to register several initialisers */
+/* Once function is registered as initialiser, it will be called automatically
during application startup */
/* Define AUTOINIT_FUNCS_FORCE_EARLY_INIT to force register as early
initialiser */
@@ -279,13 +279,13 @@
#endif /* _USRDLL */
#define _SET_INIT_AND_DEINIT_FUNCS(FI,FD) W32_SET_INIT_AND_DEINIT (FI,FD)
-/* Indicate that automatic initializers/deinitializers are supported */
+/* Indicate that automatic initialisers/deinitialisers are supported */
#define _AUTOINIT_FUNCS_ARE_SUPPORTED 1
#else /* !__GNUC__ && !_MSC_FULL_VER */
/* Define EMIT_ERROR_IF_AUTOINIT_FUNCS_ARE_NOT_SUPPORTED before inclusion of
header to
- abort compilation if automatic initializers/deinitializers are not
supported */
+ abort compilation if automatic initialisers/deinitialisers are not
supported */
#ifdef EMIT_ERROR_IF_AUTOINIT_FUNCS_ARE_NOT_SUPPORTED
#error \
Compiler/platform does not support automatic calls of user-defined
initializer and deinitializer
@@ -293,7 +293,7 @@
/* Do nothing */
#define _SET_INIT_AND_DEINIT_FUNCS(FI,FD)
-/* Indicate that automatic initializers/deinitializers are not supported */
+/* Indicate that automatic initialisers/deinitialisers are not supported */
#define _AUTOINIT_FUNCS_ARE_NOT_SUPPORTED 1
#endif /* !__GNUC__ && !_MSC_FULL_VER */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 57/156: Makefile: fixed build with 'make' without nested vars support, (continued)
- [libmicrohttpd] 57/156: Makefile: fixed build with 'make' without nested vars support, gnunet, 2023/05/28
- [libmicrohttpd] 62/156: configure: fixed checking for system libs, fixed .pc file, gnunet, 2023/05/28
- [libmicrohttpd] 65/156: configure: cosmetics, gnunet, 2023/05/28
- [libmicrohttpd] 64/156: configure: fixed potential compiler warnings, added usage of cache vars, gnunet, 2023/05/28
- [libmicrohttpd] 68/156: mhd_shutdown_socket_trigger.m4: fixed preprocessor conditional, gnunet, 2023/05/28
- [libmicrohttpd] 72/156: HTTPS test: fixed unmatched function declaration, gnunet, 2023/05/28
- [libmicrohttpd] 73/156: Disabled badly broken TLS tests, gnunet, 2023/05/28
- [libmicrohttpd] 84/156: autoinit_funcs.h: improved formatting, gnunet, 2023/05/28
- [libmicrohttpd] 85/156: Fixed many macros, gnunet, 2023/05/28
- [libmicrohttpd] 79/156: Updated libtool fixes, gnunet, 2023/05/28
- [libmicrohttpd] 90/156: autoinit_funcs.h: unified English spelling (prefer GB over US),
gnunet <=
- [libmicrohttpd] 94/156: test_postform: updated to support the new libcurl API, gnunet, 2023/05/28
- [libmicrohttpd] 96/156: autoinit_funcs.h: fixed compiler warning, gnunet, 2023/05/28
- [libmicrohttpd] 70/156: Upgraded TLS: fixed inefficient communication, gnunet, 2023/05/28
- [libmicrohttpd] 74/156: connection.c: fixed processing of folded headers, gnunet, 2023/05/28
- [libmicrohttpd] 81/156: contrib/make-dist.sh: added new helper script, gnunet, 2023/05/28
- [libmicrohttpd] 99/156: configure: fixed compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 106/156: test_postprocessor_md: fixed build in C89 mode, gnunet, 2023/05/28
- [libmicrohttpd] 117/156: examples/sessions.c: improved safety, gnunet, 2023/05/28
- [libmicrohttpd] 82/156: Updated POTFILES.in, gnunet, 2023/05/28
- [libmicrohttpd] 76/156: Added test with folded header placed last, gnunet, 2023/05/28