Selaa lähdekoodia

Changed settings context allocator definiton to static

Sandro Kalatozishvili 2 vuotta sitten
vanhempi
commit
ec80b46c6f
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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
     @license This project is released under the GNU GPLv3 License
  *  @copyright (c) 2023 Sandro Kalatozishvili (s.kalatoz@gmail.com)
  *  @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"
 #include "xremote_settings.h"
@@ -78,7 +78,7 @@ static void infrared_settings_repeat_changed(VariableItem* item)
     xremote_app_settings_store(settings);
     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));
     XRemoteSettingsContext *context = malloc(sizeof(XRemoteSettingsContext));
     XRemoteAppSettings* settings = app_ctx->app_settings;
     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
     @license This project is released under the GNU GPLv3 License
  *  @copyright (c) 2023 Sandro Kalatozishvili (s.kalatoz@gmail.com)
  *  @copyright (c) 2023 Sandro Kalatozishvili (s.kalatoz@gmail.com)
  *
  *
- * @brief XRemote settins functionality and menu.
+ * @brief XRemote applications settings menu and functionality.
  */
  */
 
 
 #pragma once
 #pragma once