#include "config.h"
#endif
-#define _GNU_SOURCE
#include <assert.h>
#include <string.h>
}
struct pbt_client *pbt_client_init(enum pbt_twin_backend backend,
- unsigned int width, unsigned int height, int start_deamon)
+ unsigned int width, unsigned int height, int start_daemon)
{
struct pbt_client *pbt_client;
unsigned int i;
/* Loop here for scripts that just started the server. */
retry_start:
- for (i = start_deamon ? 2 : 10; i; i--) {
+ for (i = start_daemon ? 2 : 10; i; i--) {
pbt_client->discover_client
= discover_client_init(pbt_client->waitset,
&pbt_client_ops, pbt_client);
sleep(1);
}
- if (!pbt_client->discover_client && start_deamon) {
+ if (!pbt_client->discover_client && start_daemon) {
int result;
- start_deamon = 0;
+ start_daemon = 0;
result = pb_start_daemon(pbt_client);