Просмотр исходного кода

Changed settings context allocator definiton to static

Sandro Kalatozishvili 2 лет назад
Родитель
Сommit
ec80b46c6f
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      xremote_settings.c
  2. 1 1
      xremote_settings.h

+ 2 - 2
xremote_settings.c

@@ -3,7 +3,7 @@
     @license This project is released under the GNU GPLv3 License
  *  @copyright (c) 2023 Sandro Kalatozishvili (s.kalatoz@gmail.com)
  *
- * @brief XRemote settins functionality and menu.
+ * @brief XRemote applications settings menu and functionality.
  */
 
 #include "xremote_settings.h"
@@ -78,7 +78,7 @@ static void infrared_settings_repeat_changed(VariableItem* item)
     xremote_app_settings_store(settings);
 }
 
-XRemoteSettingsContext* xremote_settings_context_alloc(XRemoteAppContext* app_ctx)
+static XRemoteSettingsContext* xremote_settings_context_alloc(XRemoteAppContext* app_ctx)
 {
     XRemoteSettingsContext *context = malloc(sizeof(XRemoteSettingsContext));
     XRemoteAppSettings* settings = app_ctx->app_settings;

+ 1 - 1
xremote_settings.h

@@ -3,7 +3,7 @@
     @license This project is released under the GNU GPLv3 License
  *  @copyright (c) 2023 Sandro Kalatozishvili (s.kalatoz@gmail.com)
  *
- * @brief XRemote settins functionality and menu.
+ * @brief XRemote applications settings menu and functionality.
  */
 
 #pragma once