Closed Bug 331316 Opened 18 years ago Closed 13 years ago

miscellaneous warnings about main

Categories

(NSPR :: NSPR, defect, P2)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: atulagrwl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

Attachments

(1 file, 1 obsolete file)

/Users/timeless/mozilla/nsprpub/pr/tests/suspend.c: At top level:
/Users/timeless/mozilla/nsprpub/pr/tests/suspend.c:201: warning: return type of `main' is not `int'
/Users/timeless/mozilla/nsprpub/pr/tests/thruput.c: In function `main':
/Users/timeless/mozilla/nsprpub/pr/tests/thruput.c:409: warning: control reaches end of non-void function
Attachment #215867 - Flags: review?(wtchang)
QA Contact: wtchang → nspr
Whiteboard: [build_warning]
Blocks: buildwarning
Attached patch Patch v1Splinter Review
Assignee: wtc → atulagrwl
Attachment #215867 - Attachment is obsolete: true
Attachment #215867 - Flags: review?(wtc)
r=wtc.

Patch checked in on the NSPR trunk (NSPR 4.9).

Checking in suspend.c;
/cvsroot/mozilla/nsprpub/pr/tests/suspend.c,v  <--  suspend.c
new revision: 3.12; previous revision: 3.11
done
Checking in thruput.c;
/cvsroot/mozilla/nsprpub/pr/tests/thruput.c,v  <--  thruput.c
new revision: 3.11; previous revision: 3.10
done
Status: NEW → RESOLVED
Closed: 13 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 4.9
Pushed to mozilla-central in the latest NSPR update: https://hg.mozilla.org/mozilla-central/rev/7e25caedd620
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: