Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
@@ -2,21 +2,21 @@
|
||||
#include "cleanerserver.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <process.h>
|
||||
#include <process.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#ifndef daemon
|
||||
int daemon(int, int);
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#ifndef daemon
|
||||
int daemon(int, int);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication a(argc, argv);
|
||||
QCoreApplication a(argc, argv);
|
||||
CleanerServer server;
|
||||
#ifndef _WIN32
|
||||
if (daemon(0, 0) != 0)
|
||||
return -1;
|
||||
#endif
|
||||
return a.exec();
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user