Fix imports

This commit is contained in:
Night Kaly 2024-09-25 22:30:47 +01:00
parent 620c42546f
commit 3788480b43
Signed by: night0721
GPG key ID: 957D67B8DB7A119B
7 changed files with 13 additions and 15 deletions

View file

@ -1,7 +1,6 @@
#include "packet.h"
#include "key.h"
#include "util.h"
#include "server/server.h"
/*
* Print contents of packet

View file

@ -1,9 +1,9 @@
#include "config.h"
#include "packet.h"
#include "util.h"
#include "client/ui.h"
#include "client/db.h"
#include "client/user.h"
#include "zen/ui.h"
#include "zen/db.h"
#include "zen/user.h"
sqlite3 *db;
char zen_db_path[PATH_MAX];

View file

@ -1,5 +1,5 @@
#include "notification.h"
#include "util.h"
#include "zen/notification.h"
void send_notification(uint8_t *author, uint8_t *content)
{

View file

@ -1,9 +1,9 @@
#include "config.h"
#include "packet.h"
#include "util.h"
#include "client/ui.h"
#include "client/db.h"
#include "client/user.h"
#include "zen/ui.h"
#include "zen/db.h"
#include "zen/user.h"
WINDOW *panel;
WINDOW *users_border;
@ -18,6 +18,7 @@ message_t messages[100];
int num_messages = 0;
long current_user = 0;
int current_window = 0;
int current_mode;
int sockfd;
/* For tracking cursor position in content */

View file

@ -3,7 +3,7 @@
#include "packet.h"
#include "util.h"
#include "client/user.h"
#include "zen/user.h"
ArrayList *arraylist_init(size_t capacity)
{

View file

@ -1,11 +1,10 @@
#include "config.h"
#include "packet.h"
#include "key.h"
#include "notification.h"
#include "util.h"
#include "client/ui.h"
#include "client/db.h"
#include "server/server.h"
#include "zen/notification.h"
#include "zen/ui.h"
#include "zen/db.h"
/*
* Authenticate with server by signing a challenge

View file

@ -1,8 +1,7 @@
#include "packet.h"
#include "util.h"
#include "config.h"
#include "notification.h"
#include "server/server.h"
#include "zmr/zmr.h"
thread_t threads[MAX_THREADS];
int num_thread = 0;