From a52456e969401319bf492e6c6b8f17a1e3cf231f Mon Sep 17 00:00:00 2001 From: brodsom Date: Thu, 3 Apr 2003 08:51:16 +0000 Subject: [PATCH] Move definitions only used by gspit to spit.cpp --- src/burp/burpswi.h | 13 ------------- src/burp/spit.cpp | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/burp/burpswi.h b/src/burp/burpswi.h index 0b1cc47731..1815617687 100644 --- a/src/burp/burpswi.h +++ b/src/burp/burpswi.h @@ -164,18 +164,5 @@ static struct in_sw_tab_t burp_in_sw_table [] = }; -/* Definitions for GSPLIT */ -#define IN_SW_SPIT_0 0 /* the unknowable switch */ -#define IN_SW_SPIT_SP 30 /* splits back up files */ -#define IN_SW_SPIT_JT 31 /* joins back up files */ - - -static struct in_sw_tab_t spit_in_sw_table [] = -{ - {IN_SW_SPIT_SP, 0, "SPLIT_BK_FILE", 0, 0, 0, FALSE, 0, 0, NULL}, - {IN_SW_SPIT_JT, 0, "JOIN_BK_FILE", 0, 0, 0, FALSE, 0, 0, NULL}, - {IN_SW_SPIT_0, 0, NULL, 0, 0, 0, FALSE, 0, 0, NULL} -}; - #endif /* _BURP_BURP_H_ */ diff --git a/src/burp/spit.cpp b/src/burp/spit.cpp index 72d1b90dd5..f5dc830bf4 100644 --- a/src/burp/spit.cpp +++ b/src/burp/spit.cpp @@ -64,6 +64,19 @@ #define MODE_WRITE O_WRONLY | O_CREAT #define MASK 0666 +/* Definitions for GSPLIT */ +#define IN_SW_SPIT_0 0 /* the unknowable switch */ +#define IN_SW_SPIT_SP 30 /* splits back up files */ +#define IN_SW_SPIT_JT 31 /* joins back up files */ + + +static struct in_sw_tab_t spit_in_sw_table [] = +{ + {IN_SW_SPIT_SP, 0, "SPLIT_BK_FILE", 0, 0, 0, FALSE, 0, 0, NULL}, + {IN_SW_SPIT_JT, 0, "JOIN_BK_FILE", 0, 0, 0, FALSE, 0, 0, NULL}, + {IN_SW_SPIT_0, 0, NULL, 0, 0, 0, FALSE, 0, 0, NULL} +}; + /************************************* ** backup files header record **************************************