• Sergio Costas's avatar
    Don't allow to have functions with empty parameters · e2da88ed
    Sergio Costas authored
    C doesn't check that calls to functions without parameters honors the
    signature. Thus, it is possible to call a function defined as
    
    void function() {...
    
    with several parameters, or assign it to a pointer to function with any
    type and number of parameters, and the compiler won't complain. To avoid
    this, it is mandatory to put "void" inside the parameter list; so the
    previous function must be written as:
    
    void function(void) {...
    
    This allows the compiler to detect illegal usages and assignments.
    e2da88ed
Name
Last commit
Last update
..
test1.c Loading commit data...
test10.c Loading commit data...
test100.c Loading commit data...
test101.c Loading commit data...
test102.c Loading commit data...
test103.c Loading commit data...
test104.c Loading commit data...
test105.c Loading commit data...
test106.c Loading commit data...
test107.c Loading commit data...
test108.c Loading commit data...
test109.c Loading commit data...
test11.c Loading commit data...
test110.c Loading commit data...
test111.c Loading commit data...
test112.c Loading commit data...
test113.c Loading commit data...
test114.c Loading commit data...
test115.c Loading commit data...
test116.c Loading commit data...
test117.c Loading commit data...
test118.c Loading commit data...
test119.c Loading commit data...
test12.c Loading commit data...
test120.c Loading commit data...
test121.c Loading commit data...
test122.c Loading commit data...
test123.c Loading commit data...
test124.c Loading commit data...
test125.c Loading commit data...
test126.c Loading commit data...
test127.c Loading commit data...
test128.c Loading commit data...
test129.c Loading commit data...
test13.c Loading commit data...
test130.c Loading commit data...
test131.c Loading commit data...
test132.c Loading commit data...
test133.c Loading commit data...
test134.c Loading commit data...
test135.c Loading commit data...
test136.c Loading commit data...
test137.c Loading commit data...
test138.c Loading commit data...
test139.c Loading commit data...
test14.c Loading commit data...
test140.c Loading commit data...
test141.c Loading commit data...
test142.c Loading commit data...
test143.c Loading commit data...
test144.c Loading commit data...
test145.c Loading commit data...
test146.c Loading commit data...
test147.c Loading commit data...
test148.c Loading commit data...
test149.c Loading commit data...
test15.c Loading commit data...
test150.c Loading commit data...
test151.c Loading commit data...
test152.c Loading commit data...
test153.c Loading commit data...
test154.c Loading commit data...
test155.c Loading commit data...
test156.c Loading commit data...
test157.c Loading commit data...
test158.c Loading commit data...
test159.c Loading commit data...
test16.c Loading commit data...
test160.c Loading commit data...
test161.c Loading commit data...
test162.c Loading commit data...
test163.c Loading commit data...
test164.c Loading commit data...
test165.c Loading commit data...
test166.c Loading commit data...
test167.c Loading commit data...
test168.c Loading commit data...
test169.c Loading commit data...
test17.c Loading commit data...
test170.c Loading commit data...
test171.c Loading commit data...
test172.c Loading commit data...
test173.c Loading commit data...
test174.c Loading commit data...
test175.c Loading commit data...
test176.c Loading commit data...
test177.c Loading commit data...
test178.c Loading commit data...
test179.c Loading commit data...
test18.c Loading commit data...
test180.c Loading commit data...
test181.c Loading commit data...
test182.c Loading commit data...
test183.c Loading commit data...
test184.c Loading commit data...
test185.c Loading commit data...
test186.c Loading commit data...
test187.c Loading commit data...
test188.c Loading commit data...
test189.c Loading commit data...
test19.c Loading commit data...
test190.c Loading commit data...
test191.c Loading commit data...
test192.c Loading commit data...
test193.c Loading commit data...
test194.c Loading commit data...
test195.c Loading commit data...
test196.c Loading commit data...
test197.c Loading commit data...
test198.c Loading commit data...
test199.c Loading commit data...
test2.c Loading commit data...
test20.c Loading commit data...
test200.c Loading commit data...
test201.c Loading commit data...
test202.c Loading commit data...
test203.c Loading commit data...
test204.c Loading commit data...
test205.c Loading commit data...
test206.c Loading commit data...
test207.c Loading commit data...
test208.c Loading commit data...
test209.c Loading commit data...
test21.c Loading commit data...
test210.c Loading commit data...
test211.c Loading commit data...
test212.c Loading commit data...
test213.c Loading commit data...
test214.c Loading commit data...
test215.c Loading commit data...
test216.c Loading commit data...
test217.c Loading commit data...
test218.c Loading commit data...
test219.c Loading commit data...
test22.c Loading commit data...
test220.c Loading commit data...
test221.c Loading commit data...
test222.c Loading commit data...
test223.c Loading commit data...
test224.c Loading commit data...
test225.c Loading commit data...
test226.c Loading commit data...
test227.c Loading commit data...
test228.c Loading commit data...
test229.c Loading commit data...
test23.c Loading commit data...
test230.c Loading commit data...
test231.c Loading commit data...
test232.c Loading commit data...
test233.c Loading commit data...
test234.c Loading commit data...
test235.c Loading commit data...
test236.c Loading commit data...
test237.c Loading commit data...
test238.c Loading commit data...
test239.c Loading commit data...
test24.c Loading commit data...
test240.c Loading commit data...
test241.c Loading commit data...
test242.c Loading commit data...
test243.c Loading commit data...
test244.c Loading commit data...
test245.c Loading commit data...
test246.c Loading commit data...
test247.c Loading commit data...
test248.c Loading commit data...
test249.c Loading commit data...
test25.c Loading commit data...
test250.c Loading commit data...
test26.c Loading commit data...
test27.c Loading commit data...
test28.c Loading commit data...
test29.c Loading commit data...
test3.c Loading commit data...
test30.c Loading commit data...
test31.c Loading commit data...
test32.c Loading commit data...
test33.c Loading commit data...
test34.c Loading commit data...
test35.c Loading commit data...
test36.c Loading commit data...
test37.c Loading commit data...
test38.c Loading commit data...
test39.c Loading commit data...
test4.c Loading commit data...
test40.c Loading commit data...
test41.c Loading commit data...
test42.c Loading commit data...
test43.c Loading commit data...
test44.c Loading commit data...
test45.c Loading commit data...
test46.c Loading commit data...
test47.c Loading commit data...
test48.c Loading commit data...
test49.c Loading commit data...
test5.c Loading commit data...
test50.c Loading commit data...
test51.c Loading commit data...
test52.c Loading commit data...
test53.c Loading commit data...
test54.c Loading commit data...
test55.c Loading commit data...
test56.c Loading commit data...
test57.c Loading commit data...
test58.c Loading commit data...
test59.c Loading commit data...
test6.c Loading commit data...
test60.c Loading commit data...
test61.c Loading commit data...
test62.c Loading commit data...
test63.c Loading commit data...
test64.c Loading commit data...
test65.c Loading commit data...
test66.c Loading commit data...
test67.c Loading commit data...
test68.c Loading commit data...
test69.c Loading commit data...
test7.c Loading commit data...
test70.c Loading commit data...
test71.c Loading commit data...
test72.c Loading commit data...
test73.c Loading commit data...
test74.c Loading commit data...
test75.c Loading commit data...
test76.c Loading commit data...
test77.c Loading commit data...
test78.c Loading commit data...
test79.c Loading commit data...
test8.c Loading commit data...
test80.c Loading commit data...
test81.c Loading commit data...
test82.c Loading commit data...
test83.c Loading commit data...
test84.c Loading commit data...
test85.c Loading commit data...
test86.c Loading commit data...
test87.c Loading commit data...
test88.c Loading commit data...
test89.c Loading commit data...
test9.c Loading commit data...
test90.c Loading commit data...
test91.c Loading commit data...
test92.c Loading commit data...
test93.c Loading commit data...
test94.c Loading commit data...
test95.c Loading commit data...
test96.c Loading commit data...
test97.c Loading commit data...
test98.c Loading commit data...
test99.c Loading commit data...