| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/retail/files/ |
Upload File : |
--- src/retail.h.orig 2003-03-18 17:48:46 UTC
+++ src/retail.h
@@ -19,16 +19,16 @@
*/
/* global variables */
-short int retval; /* what value do we return at the end of all this */
-short int debug; /* do we go into debug mode? (developer test only */
-FILE *in_file; /* the files we'll be reading for input */
-FILE *in_stat; /* the file we're using to store our place in in_file */
-char *st_filename; /* the var we store the name of the offset file */
-
-char **files; /* an array of all the file's we'll be opening */
-char *suffix; /* suffix of the file we open to store stats in */
-char *prefix; /* prefix directory for where we put stats files */
+extern short int retval; /* what value do we return at the end of all this */
+extern short int debug; /* do we go into debug mode? (developer test only */
+extern FILE *in_file; /* the files we'll be reading for input */
+extern FILE *in_stat; /* the file we're using to store our place in in_file */
+extern char *st_filename; /* the var we store the name of the offset file */
+extern char **files; /* an array of all the file's we'll be opening */
+extern char *suffix; /* suffix of the file we open to store stats in */
+extern char *prefix; /* prefix directory for where we put stats files */
+
/* structure for our info on the file */
typedef struct {
long int ipos; /* last position as an int */
@@ -36,7 +36,7 @@ typedef struct {
char *last_line; /* last known line in the file */
} FILE_STAT;
-FILE_STAT f;
+extern FILE_STAT f;
/* our local functions */
int proc_args(int argc, char **argv);