[IPHLPAPI] Simplify spec file
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 25 Aug 2019 09:44:43 +0000 (11:44 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 8 Sep 2019 14:23:46 +0000 (16:23 +0200)
Also move the exports where they are on Windows. This was already handled correctly by MSVC and still doesn't fix the order on GCC builds, but that is a different story and shall be addressed at a different time.

dll/win32/iphlpapi/iphlpapi.spec

index d9a2066..6d186f3 100644 (file)
 @ stdcall NotifyRouteChange( ptr ptr )
 @ stub NotifyRouteChangeEx
 @ stub NotifySecurityHealthChange
+@ stdcall _PfAddFiltersToInterface@24()
+@ stdcall _PfAddGlobalFilterToInterface@8()
+@ stdcall _PfBindInterfaceToIPAddress@12()
+@ stdcall _PfBindInterfaceToIndex@16()
+@ stdcall _PfCreateInterface@24()
+@ stdcall _PfDeleteInterface@4()
+@ stdcall _PfDeleteLog@0()
+@ stdcall _PfGetInterfaceStatistics@16()
+@ stdcall _PfMakeLog@4()
+@ stdcall _PfRebindFilters@8()
+@ stdcall _PfRemoveFilterHandles@12()
+@ stdcall _PfRemoveFiltersFromInterface@20()
+@ stdcall _PfRemoveGlobalFilterFromInterface@8()
+@ stdcall _PfSetLogBuffer@28()
+@ stdcall _PfTestPacket@20()
+@ stdcall _PfUnBindInterface@4()
 @ stdcall RestoreMediaSense(ptr ptr)
 @ stdcall SendARP(long long ptr ptr)
 @ stub SetAdapterIpAddress
 @ stdcall SetTcpEntry( ptr )
 @ stub SetTcpEntryToStack
 @ stdcall UnenableRouter( ptr ptr )
-
-# These are actually stubs, but we need to forward them to preserve the decoration.
-@ stdcall -arch=i386 _PfAddFiltersToInterface@24() _PfAddFiltersToInterface@24
-@ stdcall -arch=i386 _PfAddGlobalFilterToInterface@8() _PfAddGlobalFilterToInterface@8
-@ stdcall -arch=i386 _PfBindInterfaceToIPAddress@12() _PfBindInterfaceToIPAddress@12
-@ stdcall -arch=i386 _PfBindInterfaceToIndex@16() _PfBindInterfaceToIndex@16
-@ stdcall -arch=i386 _PfCreateInterface@24() _PfCreateInterface@24
-@ stdcall -arch=i386 _PfDeleteInterface@4() _PfDeleteInterface@4
-@ stdcall -arch=i386 _PfDeleteLog@0() _PfDeleteLog@0
-@ stdcall -arch=i386 _PfGetInterfaceStatistics@16() _PfGetInterfaceStatistics@16
-@ stdcall -arch=i386 _PfMakeLog@4() _PfMakeLog@4
-@ stdcall -arch=i386 _PfRebindFilters@8() _PfRebindFilters@8
-@ stdcall -arch=i386 _PfRemoveFilterHandles@12() _PfRemoveFilterHandles@12
-@ stdcall -arch=i386 _PfRemoveFiltersFromInterface@20() _PfRemoveFiltersFromInterface@20
-@ stdcall -arch=i386 _PfRemoveGlobalFilterFromInterface@8() _PfRemoveGlobalFilterFromInterface@8
-@ stdcall -arch=i386 _PfSetLogBuffer@28() _PfSetLogBuffer@28
-@ stdcall -arch=i386 _PfTestPacket@20() _PfTestPacket@20
-@ stdcall -arch=i386 _PfUnBindInterface@4() _PfUnBindInterface@4
-
-# x64 does not use decoration in these names
-@ stdcall -arch=x86_64 _PfAddFiltersToInterface@24()
-@ stdcall -arch=x86_64 _PfAddGlobalFilterToInterface@8()
-@ stdcall -arch=x86_64 _PfBindInterfaceToIPAddress@12()
-@ stdcall -arch=x86_64 _PfBindInterfaceToIndex@16()
-@ stdcall -arch=x86_64 _PfCreateInterface@24()
-@ stdcall -arch=x86_64 _PfDeleteInterface@4()
-@ stdcall -arch=x86_64 _PfDeleteLog@0()
-@ stdcall -arch=x86_64 _PfGetInterfaceStatistics@16()
-@ stdcall -arch=x86_64 _PfMakeLog@4()
-@ stdcall -arch=x86_64 _PfRebindFilters@8()
-@ stdcall -arch=x86_64 _PfRemoveFilterHandles@12()
-@ stdcall -arch=x86_64 _PfRemoveFiltersFromInterface@20()
-@ stdcall -arch=x86_64 _PfRemoveGlobalFilterFromInterface@8()
-@ stdcall -arch=x86_64 _PfSetLogBuffer@28()
-@ stdcall -arch=x86_64 _PfTestPacket@20()
-@ stdcall -arch=x86_64 _PfUnBindInterface@4()
-
 @ stub do_echo_rep
 @ stub do_echo_req
 @ stub register_icmp