1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

IPCCompiler: Fix declaration of static functions

This commit is contained in:
Jean-Baptiste Boric 2021-05-07 18:50:00 +02:00 committed by Andreas Kling
parent 090936e424
commit 9853a4393c

View file

@ -63,12 +63,12 @@ struct Endpoint {
Vector<Message> messages;
};
bool is_primitive_type(String const& type)
static bool is_primitive_type(String const& type)
{
return type.is_one_of("u8", "i8", "u16", "i16", "u32", "i32", "u64", "i64", "bool", "double", "float", "int", "unsigned", "unsigned int");
}
String message_name(String const& endpoint, String& message, bool is_response)
static String message_name(String const& endpoint, String& message, bool is_response)
{
StringBuilder builder;
builder.append("Messages::");