Skip to content

Commit

Permalink
chore: Fix run_options.h header guard
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Feb 1, 2024
1 parent e8260ce commit 768c5c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/run_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

#ifndef RUN_OPTIONS_H
#define RUN_OPTIONS_H

#include <stdbool.h>
#include <stdio.h> // needed for FILE
Expand Down
1 change: 0 additions & 1 deletion src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "groupchats.h"
#include "misc_tools.h"
#include "notify.h"
#include "run_options.h"
#include "toxic.h"
#include "windows.h"

Expand Down
3 changes: 1 addition & 2 deletions src/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <tox/tox.h>

#include "run_options.h"
#include "toxic_constants.h"

/* Represents line_* hints max strlen */
Expand Down Expand Up @@ -141,8 +142,6 @@ enum settings_values {
#define LOG_TIMESTAMP_DEFAULT "%Y/%m/%d [%H:%M:%S]"
#define MPLEX_AWAY_NOTE "Away from keyboard, be back soon!"

typedef struct Run_Options Run_Options;

/*
* Loads the config file into `run_opts` and creates an empty file if it does not
* already exist. This function must be called before any other `settings_load` function.
Expand Down

0 comments on commit 768c5c1

Please sign in to comment.