summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-09-02 22:34:25 -0500
committer@syxhe <https://t.me/syxhe>2024-09-02 22:34:25 -0500
commit73d97e960befcd5ef75ea1ae30e9b9222cf22ddf (patch)
tree5be050d23bccbdb09128948e472edafdc13fe5ec /src
parent248f88a02aea778c989f9673dffe5ddf7b7f3ee3 (diff)
I'm so restarded :sob:
Diffstat (limited to 'src')
-rw-r--r--src/encryption.c3
-rw-r--r--src/encryption.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/encryption.c b/src/encryption.c
index 8f52e49..8b0055c 100644
--- a/src/encryption.c
+++ b/src/encryption.c
@@ -7,9 +7,8 @@
7#define _GNU_SOURCE 7#define _GNU_SOURCE
8#define TESTING 8#define TESTING
9 9
10#include "ll.h" // Why the fuck did putting this before encryption.h fix my compilation problem
11#include "encryption.h" 10#include "encryption.h"
12 11#include "ll.h"
13 12
14#include <sys/types.h> 13#include <sys/types.h>
15#include <sys/stat.h> 14#include <sys/stat.h>
diff --git a/src/encryption.h b/src/encryption.h
index 15800f4..15dd568 100644
--- a/src/encryption.h
+++ b/src/encryption.h
@@ -1,6 +1,7 @@
1#ifndef __SLOTS__ENCRYPTION_H__176771896719387 1#ifndef __SLOTS__ENCRYPTION_H__176771896719387
2#define __SLOTS__ENCRYPTION_H__176771896719387 2#define __SLOTS__ENCRYPTION_H__176771896719387
3 3
4#include "ll.h"
4#include <stddef.h> 5#include <stddef.h>
5 6
6/* Overwrite an open file with "encrypted" data by XOR'ing each byte with a character from PASSPHRASE. Returns number of bytes overwritten, and -1 on error */ 7/* Overwrite an open file with "encrypted" data by XOR'ing each byte with a character from PASSPHRASE. Returns number of bytes overwritten, and -1 on error */