Austin Group Defect Tracker

Aardvark Mark III


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

- Relationships

There are no notes attached to this issue.

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker