Explicitly mark main() as public in executables to avoid an HP-UX
ld warning.
This commit is contained in:
@@ -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[])
|
||||
{
|
||||
|
Reference in New Issue
Block a user