Explicitly mark main() as public in executables to avoid an HP-UX
ld warning.
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include "interfaces.h"
|
||||
|
||||
static int check_addr_printf(int msg_type, const char *fmt, ...);
|
||||
__dso_public int main(int argc, char *argv[]);
|
||||
|
||||
/* for match_addr.c */
|
||||
struct interface *interfaces;
|
||||
|
@@ -48,6 +48,8 @@
|
||||
#include "sudo_plugin.h"
|
||||
#include <gram.h>
|
||||
|
||||
__dso_public int main(int argc, char *argv[]);
|
||||
|
||||
/*
|
||||
* TODO: test realloc
|
||||
*/
|
||||
|
Reference in New Issue
Block a user