View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001195 | 1003.1(2016/18)/Issue7+TC2 | System Interfaces | public | 2018-05-24 16:30 | 2024-06-11 09:08 |
Reporter | eblake | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Omission |
Status | Closed | Resolution | Accepted As Marked | ||
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 0001195: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 |
|
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". |
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 0001195: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 |