* *.h: Renamed the multiple inclusion guards.

This commit is contained in:
Roland Illig 2005-02-18 21:15:37 +00:00
parent 6f4c5ac110
commit 9997fa69f8
11 changed files with 30 additions and 27 deletions

View File

@ -1,3 +1,7 @@
2005-02-18 Roland Illig <roland.illig@gmx.de>
* *.h: Renamed the multiple inclusion guards.
2005-02-14 Andrew V. Samoilov <sav@bcs.zp.ua>
* samba/lib/util_str.c: Comment out strhasupper(), strhaslower(),

View File

@ -1,7 +1,5 @@
/* ftpfs.h */
#if !defined(__FTPFS_H)
#define __FTPFS_H
#ifndef MC_VFS_FTPFS_H
#define MC_VFS_FTPFS_H
extern char *ftpfs_anonymous_passwd;
extern char *ftpfs_proxy_host;
@ -19,4 +17,4 @@ void init_ftpfs (void);
#define OPT_FLUSH 1
#define OPT_IGNORE_ERROR 2
#endif /* __FTPFS_H */
#endif

View File

@ -1,5 +1,5 @@
#ifndef __GC_H
#define __GC_H
#ifndef MC_VFS_GC_H
#define MC_VFS_GC_H
#include "vfs-impl.h"

View File

@ -1,5 +1,5 @@
#ifndef _VFS_LOCAL_H_
#define _VFS_LOCAL_H_
#ifndef MC_VFS_LOCAL_H
#define MC_VFS_LOCAL_H
#include "vfs-impl.h"

View File

@ -1,5 +1,5 @@
#ifndef __MCFS_H
#define __MCFS_H
#ifndef MC_VFS_MCFS_H
#define MC_VFS_MCFS_H
#define mcserver_port 9876
@ -53,4 +53,4 @@ enum {
extern void init_mcfs (void);
extern void tcp_invalidate_socket (int);
#endif /* __MCFS_H */
#endif

View File

@ -1,5 +1,5 @@
#ifndef __MCFSUTIL_H
#define __MCFSUTIL_H
#ifndef MC_VFS_MCFSUTIL_H
#define MC_VFS_MCFSUTIL_H
/*
* FIXME: This protocol uses 32-bit integers for the communication.
@ -20,4 +20,5 @@ int rpc_get (int sock, ...);
int rpc_send (int sock, ...);
int socket_read_block (int sock, char *dest, int len);
int socket_write_block (int sock, const char *buffer, int len);
#endif /* !__MCFSUTIL_H */
#endif

View File

@ -5,4 +5,4 @@ void init_smbfs (void);
extern void smbfs_set_debug (int arg);
extern void smbfs_set_debugf (const char *filename);
#endif /* MC_VFS_SMBFS_H */
#endif

View File

@ -1,7 +1,7 @@
#ifndef __TCPUTIL_H
#define __TCPUTIL_H
#ifndef MC_VFS_TCPUTIL_H
#define MC_VFS_TCPUTIL_H
extern int got_sigpipe;
void tcp_init (void);
#endif /* !__TCPUTIL_H */
#endif

View File

@ -1,5 +1,5 @@
#ifndef __UTILVFS_H
#define __UTILVFS_H
#ifndef MC_VFS_UTILVFS_H
#define MC_VFS_UTILVFS_H
#include "../src/global.h"
@ -28,4 +28,4 @@ int vfs_parse_filetype (char c);
int vfs_parse_filemode (const char *p);
int vfs_parse_filedate (int idx, time_t *t);
#endif /* !__UTILVFS_H */
#endif

View File

@ -1,5 +1,5 @@
#ifndef __VFS_H
#define __VFS_H
#ifndef MC_VFS_VFS_H
#define MC_VFS_VFS_H
#ifdef HAVE_MMAP
#include <sys/mman.h>
@ -126,4 +126,4 @@ enum {
#define E_PROTO EIO
#endif
#endif /* __VFS_H */
#endif

View File

@ -1,5 +1,5 @@
#ifndef DIRENTRY_H
#define DIRENTRY_H
#ifndef MC_VFS_XDIRENTRY_H
#define MC_VFS_XDIRENTRY_H
#define LINK_FOLLOW 15
#define LINK_NO_FOLLOW -1