mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Add a hook to be called right after main.
* common/init.c (early_system_init): New stub function. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b1d5ed6ac8
commit
0c2bfd9d5a
18 changed files with 28 additions and 0 deletions
|
@ -133,6 +133,13 @@ writestring_via_estream (int mode, const char *string)
|
|||
}
|
||||
|
||||
|
||||
/* This function should be the first called after main. */
|
||||
void
|
||||
early_system_init (void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/* This function is to be used early at program startup to make sure
|
||||
that some subsystems are initialized. This is in particular
|
||||
important for W32 to initialize the sockets so that our socket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue