View Issue Details

IDProjectCategoryView StatusLast Update
00011951003.1(2016/18)/Issue7+TC2System Interfacespublic2024-06-11 09:08
Reportereblake Assigned To 
PrioritynormalSeverityEditorialTypeOmission
Status ClosedResolutionAccepted As Marked 
NameEric Blake
OrganizationRed Hat
User Referencemain
Sectionpthread_mutexattr_destroy
Page Number1683
Line Number54891
Interp Status---
Final Accepted TextSee 0001195:0004282
Summary0001195: main() should be main(void)
DescriptionThe 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 ActionChange '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
Tagstc3-2008

Activities

nick

2019-03-07 17:23

manager   bugnote:0004282

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 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