Cleaned up includes, they were a bit of a mess
This commit is contained in:
10
inc/config.h
10
inc/config.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Scoopta
|
||||
* Copyright (C) 2019-2020 Scoopta
|
||||
* This file is part of Wofi
|
||||
* Wofi is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -18,13 +18,9 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#include <map.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <map.h>
|
||||
|
||||
void config_put(struct map* map, char* line);
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Scoopta
|
||||
* Copyright (C) 2019-2020 Scoopta
|
||||
* This file is part of Wofi
|
||||
* Wofi is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -17,10 +17,10 @@
|
||||
|
||||
#ifndef PROPERTY_BOX_H
|
||||
#define PROPERTY_BOX_H
|
||||
#include <map.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
||||
#define WOFI_TYPE_PROPERTY_BOX wofi_property_box_get_type()
|
||||
G_DECLARE_FINAL_TYPE(WofiPropertyBox, wofi_property_box, WOFI, PROPERTY_BOX, GtkBox);
|
||||
|
||||
|
10
inc/utils.h
10
inc/utils.h
@@ -18,17 +18,9 @@
|
||||
#ifndef UTIL_H
|
||||
#define UTIL_H
|
||||
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <libgen.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
time_t utils_get_time_millis(void);
|
||||
|
||||
|
23
inc/wofi.h
23
inc/wofi.h
@@ -18,28 +18,9 @@
|
||||
#ifndef WAIFU_H
|
||||
#define WAIFU_H
|
||||
|
||||
#include <wofi_api.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <utils.h>
|
||||
#include <config.h>
|
||||
#include <property_box.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <libgen.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <pango/pango.h>
|
||||
#include <gdk/gdkwayland.h>
|
||||
|
||||
#include <xdg-output-unstable-v1-client-protocol.h>
|
||||
#include <wlr-layer-shell-unstable-v1-client-protocol.h>
|
||||
#include <map.h>
|
||||
|
||||
void wofi_init(struct map* config);
|
||||
|
||||
|
@@ -18,9 +18,7 @@
|
||||
#ifndef WOFI_API_H
|
||||
#define WOFI_API_H
|
||||
|
||||
#include <map.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <wayland-client.h>
|
||||
|
Reference in New Issue
Block a user