Do not define macros starting with _
This commit is contained in:
parent
4f28a697b3
commit
d21ae4b085
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _FSP_MY_STRING_H_
|
||||
#define _FSP_MY_STRING_H_ 1
|
||||
#ifndef FSP_MY_STRING_H_
|
||||
#define FSP_MY_STRING_H_ 1
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _FSP_S_EXTERN_H_
|
||||
#define _FSP_S_EXTERN_H_ 1
|
||||
#ifndef FSP_S_EXTERN_H_
|
||||
#define FSP_S_EXTERN_H_ 1
|
||||
|
||||
/* conf.c, read and check configuration */
|
||||
extern int daemonize,use_prebuild_dirlists,read_only,dbug;
|
||||
|
|
@ -91,4 +91,4 @@ void fsplogs (void);
|
|||
void fsploga(const char *fmt, ...);
|
||||
void xferlog(char direction, const char *filename,unsigned long filesize,const char *hostname);
|
||||
|
||||
#endif /* _FSP_S_EXTERN_H_ */
|
||||
#endif /* FSP_S_EXTERN_H_ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _FSP_SERVER_CONF_H_
|
||||
#define _FSP_SERVER_CONF_H_ 1
|
||||
#ifndef FSP_SERVER_CONF_H_
|
||||
#define FSP_SERVER_CONF_H_ 1
|
||||
|
||||
/****************************************************************************
|
||||
* Set this to the location of the fspd.conf file on your system *
|
||||
|
|
@ -49,4 +49,4 @@
|
|||
*/
|
||||
#define THCCOUNT 10
|
||||
|
||||
#endif /* _FSP_SERVER_CONF_H_ */
|
||||
#endif /* FSP_SERVER_CONF_H_ */
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
* use of this software. *
|
||||
\*********************************************************************/
|
||||
|
||||
#ifndef _FSP_SERVER_DEF_H_
|
||||
#define _FSP_SERVER_DEF_H_ 1
|
||||
#ifndef FSP_SERVER_DEF_H_
|
||||
#define FSP_SERVER_DEF_H_ 1
|
||||
|
||||
#include "common_def.h"
|
||||
#include "server_conf.h"
|
||||
|
|
@ -121,4 +121,4 @@ typedef struct {
|
|||
#define FOURGIGS 0xffffffffUL
|
||||
#define TWOGIGS 0x7fffffffUL
|
||||
|
||||
#endif /* _FSP_SERVER_DEF_H_ */
|
||||
#endif /* FSP_SERVER_DEF_H_ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _FSP_TWEAK_H_
|
||||
#define _FSP_TWEAK_H_ 1
|
||||
#ifndef FSP_TWEAK_H_
|
||||
#define FSP_TWEAK_H_ 1
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sysexits.h>
|
||||
|
|
@ -49,4 +49,4 @@
|
|||
#define BB_READ2(V) ntohs(*(const u_int16_t *)(V))
|
||||
#define BB_WRITE2(V,A) *(u_int16_t *)(V) = htons(A)
|
||||
|
||||
#endif /* _FSP_TWEAK_H_ */
|
||||
#endif /* FSP_TWEAK_H_ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user