From f50fab1653b7d68df8efb4c383cf05810bbf654f Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Sun, 17 Dec 2023 01:17:42 -0800 Subject: [PATCH] We actually use these NOPEN_* macros in main.cpp So move to nopen.h --- src/sbbs3/nopen.c | 3 --- src/sbbs3/nopen.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sbbs3/nopen.c b/src/sbbs3/nopen.c index ec1e176e11..503fa23aed 100644 --- a/src/sbbs3/nopen.c +++ b/src/sbbs3/nopen.c @@ -25,9 +25,6 @@ #include "sockwrap.h" #include "nopen.h" -#define FNOPEN_BUF_SIZE (2*1024) -#define LOOP_NOPEN 50 /* Retries before file access denied */ - /****************************************************************************/ /* Network open function. Opens all files DENYALL, DENYWRITE, or DENYNONE */ /* depending on access, and retries LOOP_NOPEN number of times if the */ diff --git a/src/sbbs3/nopen.h b/src/sbbs3/nopen.h index bf916a6e9e..ff629af570 100644 --- a/src/sbbs3/nopen.h +++ b/src/sbbs3/nopen.h @@ -26,6 +26,9 @@ #include <fcntl.h> /* O_RDONLY */ #include "gen_defs.h" /* BOOL (switch to stdbool when we stop using BCB6) */ +#define FNOPEN_BUF_SIZE (2*1024) +#define LOOP_NOPEN 50 /* Retries before file access denied */ + #ifdef __cplusplus extern "C" { #endif -- GitLab