Explicitly mark main() as public in executables to avoid an HP-UX

ld warning.
This commit is contained in:
Todd C. Miller
2012-10-02 15:08:02 -04:00
parent 09140fd1a0
commit a3a1574cdf
15 changed files with 28 additions and 0 deletions

View File

@@ -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;