From 43b31844920578cf51b13e1afbd37686577aa343 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Fri, 18 Sep 2020 21:29:42 +0100 Subject: [PATCH] Rename to indicate these are public functions. --- src/CMakeLists.txt | 2 +- src/Makefile | 4 ++-- src/{plugin.c => plugin_public.c} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{plugin.c => plugin_public.c} (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6459cf4a..2cc2a7b9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -39,7 +39,7 @@ set (MOSQ_SRCS persist_read_v234.c persist_read_v5.c persist_read.c persist_write_v5.c persist_write.c persist.h - plugin.c + plugin_public.c property_broker.c ../lib/property_mosq.c ../lib/property_mosq.h read_handle.c diff --git a/src/Makefile b/src/Makefile index 862b8b8c..108318cf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -50,7 +50,7 @@ OBJS= mosquitto.o \ persist_read_v5.o \ persist_write.o \ persist_write_v5.o \ - plugin.o \ + plugin_public.o \ read_handle.o \ retain.o \ security.o \ @@ -209,7 +209,7 @@ property_broker.o : property_broker.c mosquitto_broker_internal.h property_mosq.o : ../lib/property_mosq.c ../lib/property_mosq.h ${CROSS_COMPILE}${CC} $(BROKER_CPPFLAGS) $(BROKER_CFLAGS) -c $< -o $@ -plugin.o : plugin.c mosquitto_plugin.h mosquitto_broker_internal.h +plugin_public.o : plugin_public.c mosquitto_plugin.h mosquitto_broker_internal.h ${CROSS_COMPILE}${CC} $(BROKER_CPPFLAGS) $(BROKER_CFLAGS) -c $< -o $@ read_handle.o : read_handle.c mosquitto_broker_internal.h diff --git a/src/plugin.c b/src/plugin_public.c similarity index 100% rename from src/plugin.c rename to src/plugin_public.c