mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-21 18:38:07 +02:00
Fix linter warnings
This commit is contained in:
parent
66868e2501
commit
5c41afd9e3
31 changed files with 131 additions and 116 deletions
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
Copyright (C) 2014-2025 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -22,13 +22,16 @@
|
|||
// standard headers
|
||||
#include <string>
|
||||
|
||||
|
||||
/// Daemonize a process: run a fork as specified user/group
|
||||
class Daemon
|
||||
{
|
||||
public:
|
||||
Daemon(const std::string& user, const std::string& group, const std::string& pidfile);
|
||||
/// c'tor
|
||||
Daemon(std::string user, std::string group, std::string pidfile);
|
||||
/// d'tor
|
||||
virtual ~Daemon();
|
||||
|
||||
/// daemonize the process
|
||||
void daemonize();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue