Skip to content

Commit

Permalink
bootloader: cleanup: make set_systemd_env() in pyi_utils static
Browse files Browse the repository at this point in the history
The function is used only by another function in the same
compilation unit, so make it static.
  • Loading branch information
rokm committed Oct 5, 2023
1 parent ec2db2c commit 73d2c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootloader/src/pyi_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ pyi_utils_set_library_search_path(const char *path)
* So the application can detect it and use the LISTEN_FDS created
* by systemd.
*/
int
static int
set_systemd_env()
{
const char * env_var = "LISTEN_PID";
Expand Down

0 comments on commit 73d2c0f

Please sign in to comment.