mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
dev: use #include
s according to error's concerns
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <config.h>
|
||||
#include <sessions.h>
|
||||
#include "config.h"
|
||||
#include "sessions.h"
|
||||
|
||||
bool launch(char *user, char *passwd, struct session session, void (*cb)(void), struct behavior* behavior);
|
||||
|
||||
|
@@ -1,13 +1,11 @@
|
||||
#ifndef _CONFIGH_
|
||||
#define _CONFIGH_
|
||||
|
||||
#include "util.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <keys.h>
|
||||
#include <sessions.h>
|
||||
#include <users.h>
|
||||
#include "keys.h"
|
||||
#include "util.h"
|
||||
|
||||
// should be ansi escape codes under \x1b[...m
|
||||
// if not prepared accordingly, it might break
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <util.h>
|
||||
#include "util.h"
|
||||
|
||||
enum session_type {
|
||||
XORG,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#ifndef _UIH_
|
||||
#define _UIH_
|
||||
|
||||
#include <config.h>
|
||||
#include <util.h>
|
||||
#include "config.h"
|
||||
#include "util.h"
|
||||
|
||||
void setup(struct config);
|
||||
int load(struct Vector * users, struct Vector * sessions);
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <util.h>
|
||||
#include "util.h"
|
||||
|
||||
struct user {
|
||||
char *shell;
|
||||
|
@@ -1,10 +1,10 @@
|
||||
#ifndef _UTILH_
|
||||
#define _UTILH_
|
||||
|
||||
#include <keys.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include "keys.h"
|
||||
#include "stdbool.h"
|
||||
#include "stdint.h"
|
||||
#include "sys/types.h"
|
||||
|
||||
enum keys find_keyname(char *);
|
||||
enum keys find_ansi(char *);
|
||||
|
Reference in New Issue
Block a user