summaryrefslogtreecommitdiff
path: root/Userland/Services/Clipboard
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2021-04-25 08:04:17 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-25 09:29:49 +0200
commit59218007a3034c7770b7fa5277ce1eae85bb1c07 (patch)
tree58595851a1de3e3921f453a1500e8991c9f1e31a /Userland/Services/Clipboard
parentf89c60664c001e72128b0142d972f31cb13590d3 (diff)
downloadserenity-59218007a3034c7770b7fa5277ce1eae85bb1c07.zip
IPCCompiler: Use string hashes for IPC endpoint magic
This patch removes the IPC endpoint numbers that needed to be specified in the IPC files. Since the string hash is a (hopefully) collision free number that depends on the name of the endpoint, we now use that instead. :^)
Diffstat (limited to 'Userland/Services/Clipboard')
-rw-r--r--Userland/Services/Clipboard/ClipboardClient.ipc2
-rw-r--r--Userland/Services/Clipboard/ClipboardServer.ipc2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/Clipboard/ClipboardClient.ipc b/Userland/Services/Clipboard/ClipboardClient.ipc
index 50d695e92a..d0d3a061a6 100644
--- a/Userland/Services/Clipboard/ClipboardClient.ipc
+++ b/Userland/Services/Clipboard/ClipboardClient.ipc
@@ -1,4 +1,4 @@
-endpoint ClipboardClient = 804
+endpoint ClipboardClient
{
ClipboardDataChanged([UTF8] String mime_type) =|
}
diff --git a/Userland/Services/Clipboard/ClipboardServer.ipc b/Userland/Services/Clipboard/ClipboardServer.ipc
index 1c6372cb4e..9fe63e2fc0 100644
--- a/Userland/Services/Clipboard/ClipboardServer.ipc
+++ b/Userland/Services/Clipboard/ClipboardServer.ipc
@@ -1,4 +1,4 @@
-endpoint ClipboardServer = 802
+endpoint ClipboardServer
{
Greet() => ()