mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
Rename std functions to match the standard
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#include <net/arp.hpp>
|
||||
#include <debug.h>
|
||||
#include <smartptr.hpp>
|
||||
#include <smart_ptr.hpp>
|
||||
|
||||
#include "../kernel.h"
|
||||
|
||||
|
@ -11,7 +11,7 @@ namespace NetworkEthernet
|
||||
uint16_t Type;
|
||||
};
|
||||
|
||||
Vector<EthernetEventHelperStruct> RegisteredEvents;
|
||||
std::vector<EthernetEventHelperStruct> RegisteredEvents;
|
||||
|
||||
Ethernet::Ethernet(NetworkInterfaceManager::DeviceInterface *Interface) : NetworkInterfaceManager::Events(Interface)
|
||||
{
|
||||
|
@ -49,7 +49,7 @@ namespace NetworkIPv4
|
||||
kfree(Packet);
|
||||
}
|
||||
|
||||
Vector<IPv4Events *> RegisteredEvents;
|
||||
std::vector<IPv4Events *> RegisteredEvents;
|
||||
|
||||
bool IPv4::OnEthernetPacketReceived(uint8_t *Data, uint64_t Length)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
namespace NetworkInterfaceManager
|
||||
{
|
||||
Vector<Events *> RegisteredEvents;
|
||||
std::vector<Events *> RegisteredEvents;
|
||||
|
||||
NetworkInterface::NetworkInterface()
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace NetworkUDP
|
||||
Socket *UDPSocket;
|
||||
uint16_t Port;
|
||||
};
|
||||
Vector<EventInfo> RegisteredEvents;
|
||||
std::vector<EventInfo> RegisteredEvents;
|
||||
|
||||
UDPEvents::UDPEvents() {}
|
||||
|
||||
|
Reference in New Issue
Block a user