From 71865826fa159e4480ecd676ff224822ea640506 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 10 Jul 2022 17:40:32 +0200 Subject: [PATCH] renamed noFlags to defaultFlags --- include/flags.h | 4 ++-- src/lib/flags.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/flags.h b/include/flags.h index e9fe13f..b6b090a 100644 --- a/include/flags.h +++ b/include/flags.h @@ -48,8 +48,8 @@ typedef struct //GETTERS char getEncryptionSeparator(); unsigned long getKeyLength(); -inputFlags noFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES -outputFlags noOutput(unsigned char exitCode); //SAME AS noFlags() BUT FOR outputFlags +inputFlags defaultFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES +outputFlags noOutput(unsigned char exitCode); //SAME AS defaultFlags() BUT FOR outputFlags //SETTERS void setEncryptionSeparator(char encryptionSeparatorNew); diff --git a/src/lib/flags.c b/src/lib/flags.c index f5fd358..ac98e25 100644 --- a/src/lib/flags.c +++ b/src/lib/flags.c @@ -17,7 +17,7 @@ unsigned long getKeyLength() return keyLength; } -inputFlags noFlags() +inputFlags defaultFlags() { return (inputFlags) {0, 0, 1}; }