Anonymous | Login | 2019-02-16 05:40 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Type | Date Submitted | Last Update | |||||||
0001195 | [1003.1(2016)/Issue7+TC2] System Interfaces | Editorial | Omission | 2018-05-24 16:30 | 2018-05-24 16:30 | |||||||
Reporter | eblake | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | Open | |||||||||
Status | New | |||||||||||
Name | Eric Blake | |||||||||||
Organization | Red Hat | |||||||||||
User Reference | main | |||||||||||
Section | pthread_mutexattr_destroy | |||||||||||
Page Number | 1683 | |||||||||||
Line Number | 54891 | |||||||||||
Interp Status | --- | |||||||||||
Final Accepted Text | ||||||||||||
Summary | 0001195: main() should be main(void) | |||||||||||
Description |
The standard states that both: int main(void) int main(int, char**) are acceptable prototypes for the main entry-point, but the K&R var-arg style: main() is not. We should be consistent in our examples. |
|||||||||||
Desired Action |
Change 'main()' to 'main(void)' in these locations: P1683 L54891 pthread_mutexattr_destroy P1684 L54904 pthread_mutexattr_destroy P1684 L54918 pthread_mutexattr_destroy P1953 L62919 sigaction P2568 L83198 cflow |
|||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |