Anonymous | Login | 2024-09-07 14:26 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/18)/Issue7+TC2] System Interfaces | Editorial | Omission | 2018-05-24 16:30 | 2024-06-11 09:08 | ||
Reporter | eblake | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Eric Blake | ||||||
Organization | Red Hat | ||||||
User Reference | main | ||||||
Section | pthread_mutexattr_destroy | ||||||
Page Number | 1683 | ||||||
Line Number | 54891 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | See Note: 0004282 | ||||||
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 | tc3-2008 | ||||||
Attached Files | |||||||
|
Notes | |
(0004282) nick (manager) 2019-03-07 17:23 |
Make the changes in the desired action, and also at line 54900 change "post" to "post.c", and at line 5914, change "wait" to "wait.c". |
Issue History | |||
Date Modified | Username | Field | Change |
2018-05-24 16:30 | eblake | New Issue | |
2018-05-24 16:30 | eblake | Name | => Eric Blake |
2018-05-24 16:30 | eblake | Organization | => Red Hat |
2018-05-24 16:30 | eblake | User Reference | => main |
2018-05-24 16:30 | eblake | Section | => pthread_mutexattr_destroy |
2018-05-24 16:30 | eblake | Page Number | => 1683 |
2018-05-24 16:30 | eblake | Line Number | => 54891 |
2018-05-24 16:30 | eblake | Interp Status | => --- |
2019-03-07 17:23 | nick | Note Added: 0004282 | |
2019-03-07 17:24 | nick | Final Accepted Text | => See Note: 0004282 |
2019-03-07 17:24 | nick | Status | New => Resolved |
2019-03-07 17:24 | nick | Resolution | Open => Accepted As Marked |
2019-03-07 17:24 | nick | Tag Attached: tc3-2008 | |
2019-11-12 15:03 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:08 | agadmin | Status | Applied => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |