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

@@ -127,6 +127,8 @@ extern char *malloc_options;
extern int sudoersdebug;
#endif
__dso_public int main(int argc, char *argv[]);
int
main(int argc, char *argv[])
{