Add exported libsudo_util functions to util.exp and mark in headers

using __dso_public.
This commit is contained in:
Todd C. Miller
2014-06-26 15:51:15 -06:00
parent 87c2fe5a31
commit 088edcb6f5
44 changed files with 537 additions and 295 deletions

View File

@@ -33,7 +33,7 @@
#include "sudo_plugin.h"
#include "sudo_debug.h"
int
__dso_public int
_sudo_printf(int msg_type, const char *fmt, ...)
{
va_list ap;
@@ -67,4 +67,4 @@ _sudo_printf(int msg_type, const char *fmt, ...)
return len;
}
sudo_printf_t sudo_printf = _sudo_printf;
__dso_public sudo_printf_t sudo_printf = _sudo_printf;