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

@@ -147,6 +147,8 @@ static struct rlimit corelimit;
static struct rlimit nproclimit;
#endif
__dso_public int main(int argc, char *argv[], char *envp[]);
int
main(int argc, char *argv[], char *envp[])
{