Auto merge of #6009 - juliantaylor:pedantic, r=njsmith
Auto merge of #6009 - juliantaylor:pedantic, r=njsmith

MAINT: fix two Wpedantic warnings in public header

Wpedantic is to strict to be really useful generally, but our public headers at least should avoid easy to avoid warnings for projects that do use this flag.

joferkington/numpy,stuarteberg/numpy,jonathanunderwood/numpy,Srisai85/numpy,madphysicist/numpy,hainm/numpy,argriffing/numpy,kiwifb/numpy,njase/numpy,gmcastil/numpy,chatcannon/numpy,MichaelAquilina/numpy,ChanderG/numpy,skymanaditya1/numpy,jakirkham/numpy,rgommers/numpy,anntzer/numpy,pbrod/numpy,solarjoe/numpy,GrimDerp/numpy,seberg/numpy,KaelChen/numpy,Anwesh43/numpy,dimasad/numpy,mathdd/numpy,numpy/numpy,groutr/numpy,grlee77/numpy,tynn/numpy,mathdd/numpy,pizzathief/numpy,mingwpy/numpy,njase/numpy,GaZ3ll3/numpy,simongibbons/numpy,charris/numpy,Eric89GXL/numpy,numpy/numpy,jschueller/numpy,felipebetancur/numpy,pyparallel/numpy,githubmlai/numpy,jakirkham/numpy,sonnyhu/numpy,pbrod/numpy,bringingheavendown/numpy,stuarteberg/numpy,rherault-insa/numpy,maniteja123/numpy,grlee77/numpy,tynn/numpy,ekalosak/numpy,pdebuyl/numpy,maniteja123/numpy,njase/numpy,Yusa95/numpy,utke1/numpy,MichaelAquilina/numpy,ContinuumIO/numpy,solarjoe/numpy,nbeaver/numpy,gfyoung/numpy,moreati/numpy,SunghanKim/numpy,rudimeier/numpy,chiffa/numpy,ahaldane/numpy,endolith/numpy,CMartelLML/numpy,MaPePeR/numpy,rudimeier/numpy,mingwpy/numpy,jschueller/numpy,dwillmer/numpy,SunghanKim/numpy,kiwifb/numpy,CMartelLML/numpy,drasmuss/numpy,githubmlai/numpy,SiccarPoint/numpy,Anwesh43/numpy,pdebuyl/numpy,pdebuyl/numpy,bmorris3/numpy,leifdenby/numpy,dwillmer/numpy,mingwpy/numpy,Linkid/numpy,grlee77/numpy,seberg/numpy,nguyentu1602/numpy,hainm/numpy,leifdenby/numpy,rhythmsosad/numpy,skwbc/numpy,anntzer/numpy,rudimeier/numpy,rajathkumarmp/numpy,skymanaditya1/numpy,WarrenWeckesser/numpy,b-carter/numpy,pbrod/numpy,MSeifert04/numpy,jorisvandenbossche/numpy,MSeifert04/numpy,dimasad/numpy,Linkid/numpy,rherault-insa/numpy,Dapid/numpy,ViralLeadership/numpy,jonathanunderwood/numpy,mingwpy/numpy,jorisvandenbossche/numpy,ContinuumIO/numpy,has2k1/numpy,ChanderG/numpy,bringingheavendown/numpy,chatcannon/numpy,trankmichael/numpy,skwbc/numpy,GaZ3ll3/numpy,MaPePeR/numpy,Srisai85/numpy,jankoslavic/numpy,cjermain/numpy,rajathkumarmp/numpy,Eric89GXL/numpy,kirillzhuravlev/numpy,gfyoung/numpy,sonnyhu/numpy,musically-ut/numpy,mhvk/numpy,SiccarPoint/numpy,endolith/numpy,numpy/numpy,rudimeier/numpy,sinhrks/numpy,gmcastil/numpy,dwillmer/numpy,SunghanKim/numpy,jankoslavic/numpy,rhythmsosad/numpy,bertrand-l/numpy,pizzathief/numpy,jonathanunderwood/numpy,felipebetancur/numpy,ContinuumIO/numpy,mhvk/numpy,bmorris3/numpy,sonnyhu/numpy,groutr/numpy,MSeifert04/numpy,jakirkham/numpy,felipebetancur/numpy,Srisai85/numpy,BabeNovelty/numpy,sonnyhu/numpy,maniteja123/numpy,abalkin/numpy,utke1/numpy,pbrod/numpy,felipebetancur/numpy,ekalosak/numpy,ssanderson/numpy,Anwesh43/numpy,pyparallel/numpy,mhvk/numpy,ekalosak/numpy,SiccarPoint/numpy,rgommers/numpy,tacaswell/numpy,GrimDerp/numpy,charris/numpy,drasmuss/numpy,seberg/numpy,AustereCuriosity/numpy,WillieMaddox/numpy,BabeNovelty/numpy,b-carter/numpy,chiffa/numpy,shoyer/numpy,simongibbons/numpy,jakirkham/numpy,gfyoung/numpy,cjermain/numpy,AustereCuriosity/numpy,hainm/numpy,WillieMaddox/numpy,kirillzhuravlev/numpy,ChanderG/numpy,trankmichael/numpy,Eric89GXL/numpy,MSeifert04/numpy,ddasilva/numpy,mwiebe/numpy,drasmuss/numpy,WillieMaddox/numpy,ChristopherHogan/numpy,dimasad/numpy,musically-ut/numpy,has2k1/numpy,ahaldane/numpy,MSeifert04/numpy,madphysicist/numpy,behzadnouri/numpy,skwbc/numpy,BabeNovelty/numpy,joferkington/numpy,pbrod/numpy,githubmlai/numpy,rherault-insa/numpy,madphysicist/numpy,nbeaver/numpy,rhythmsosad/numpy,WarrenWeckesser/numpy,simongibbons/numpy,abalkin/numpy,joferkington/numpy,anntzer/numpy,SiccarPoint/numpy,gmcastil/numpy,trankmichael/numpy,Eric89GXL/numpy,kiwifb/numpy,shoyer/numpy,pizzathief/numpy,sinhrks/numpy,mathdd/numpy,KaelChen/numpy,musically-ut/numpy,ahaldane/numpy,chiffa/numpy,dwillmer/numpy,sinhrks/numpy,endolith/numpy,Linkid/numpy,GaZ3ll3/numpy,dimasad/numpy,mattip/numpy,utke1/numpy,mhvk/numpy,mattip/numpy,seberg/numpy,Yusa95/numpy,Dapid/numpy,Dapid/numpy,bringingheavendown/numpy,jorisvandenbossche/numpy,ChristopherHogan/numpy,jschueller/numpy,Anwesh43/numpy,KaelChen/numpy,pdebuyl/numpy,mathdd/numpy,rajathkumarmp/numpy,KaelChen/numpy,mwiebe/numpy,rgommers/numpy,WarrenWeckesser/numpy,solarjoe/numpy,skymanaditya1/numpy,cjermain/numpy,joferkington/numpy,leifdenby/numpy,ESSS/numpy,argriffing/numpy,chatcannon/numpy,Srisai85/numpy,ddasilva/numpy,ssanderson/numpy,GrimDerp/numpy,ahaldane/numpy,bertrand-l/numpy,charris/numpy,has2k1/numpy,ChristopherHogan/numpy,bmorris3/numpy,WarrenWeckesser/numpy,tacaswell/numpy,githubmlai/numpy,bertrand-l/numpy,AustereCuriosity/numpy,ChanderG/numpy,Yusa95/numpy,jorisvandenbossche/numpy,hainm/numpy,numpy/numpy,mhvk/numpy,ESSS/numpy,Linkid/numpy,charris/numpy,b-carter/numpy,kirillzhuravlev/numpy,ekalosak/numpy,mwiebe/numpy,shoyer/numpy,ddasilva/numpy,ahaldane/numpy,endolith/numpy,ESSS/numpy,pizzathief/numpy,argriffing/numpy,grlee77/numpy,cjermain/numpy,mattip/numpy,MaPePeR/numpy,groutr/numpy,pizzathief/numpy,bmorris3/numpy,jschueller/numpy,BabeNovelty/numpy,CMartelLML/numpy,stuarteberg/numpy,sinhrks/numpy,CMartelLML/numpy,skymanaditya1/numpy,anntzer/numpy,abalkin/numpy,simongibbons/numpy,trankmichael/numpy,WarrenWeckesser/numpy,musically-ut/numpy,shoyer/numpy,simongibbons/numpy,Yusa95/numpy,kirillzhuravlev/numpy,nguyentu1602/numpy,mattip/numpy,ChristopherHogan/numpy,has2k1/numpy,rajathkumarmp/numpy,MichaelAquilina/numpy,jankoslavic/numpy,pyparallel/numpy,grlee77/numpy,ViralLeadership/numpy,jankoslavic/numpy,GaZ3ll3/numpy,behzadnouri/numpy,SunghanKim/numpy,jorisvandenbossche/numpy,nguyentu1602/numpy,nbeaver/numpy,MaPePeR/numpy,stuarteberg/numpy,behzadnouri/numpy,moreati/numpy,madphysicist/numpy,MichaelAquilina/numpy,moreati/numpy,ViralLeadership/numpy,madphysicist/numpy,ssanderson/numpy,GrimDerp/numpy,rgommers/numpy,nguyentu1602/numpy,rhythmsosad/numpy,tynn/numpy,jakirkham/numpy,shoyer/numpy,tacaswell/numpy