lib/ohai/util/win32.rb in ohai-15.1.5 vs lib/ohai/util/win32.rb in ohai-15.2.5
- old
+ new
@@ -26,21 +26,21 @@
extend FFI::Library
ffi_lib "advapi32"
attach_function :lookup_account_sid,
- :LookupAccountSidA, [ :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :long
+ :LookupAccountSidA, %i{pointer pointer pointer pointer pointer pointer pointer}, :long
attach_function :convert_string_sid_to_sid,
- :ConvertStringSidToSidA, [ :pointer, :pointer ], :long
+ :ConvertStringSidToSidA, %i{pointer pointer}, :long
ffi_lib "kernel32"
attach_function :local_free,
- :LocalFree, [ :pointer ], :long
+ :LocalFree, [ :pointer ], :long
attach_function :get_last_error,
- :GetLastError, [], :long
+ :GetLastError, [], :long
end
end
end
end