mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 07:16:23 -05:00
Insure CRYPT is defined before header inclusion.
This commit is contained in:
parent
34e2041d8e
commit
fb6d6bd595
6
Makefile
6
Makefile
@ -136,7 +136,7 @@ bindable.o: bindable.c bindable.h buffer.h estruct.h line.h utf8.h \
|
||||
retcode.h display.h edef.h file.h input.h
|
||||
buffer.o: buffer.c buffer.h estruct.h line.h utf8.h retcode.h display.h \
|
||||
edef.h file.h input.h window.h
|
||||
crypt.o: crypt.c crypt.h estruct.h line.h utf8.h retcode.h
|
||||
crypt.o: crypt.c estruct.h line.h utf8.h retcode.h crypt.h
|
||||
display.o: display.c display.h estruct.h line.h utf8.h retcode.h edef.h \
|
||||
termio.h version.h wrapper.h window.h
|
||||
ebind.o: ebind.c ebind.h basic.h bind.h edef.h estruct.h line.h utf8.h \
|
||||
@ -149,9 +149,9 @@ exec.o: exec.c exec.h estruct.h line.h utf8.h retcode.h buffer.h bind.h \
|
||||
edef.h display.h eval.h file.h flook.h input.h
|
||||
execute.o: execute.c edef.h estruct.h line.h utf8.h retcode.h bind.h \
|
||||
random.h display.h file.h
|
||||
file.o: file.c file.h buffer.h estruct.h line.h utf8.h retcode.h crypt.h \
|
||||
file.o: file.c estruct.h line.h utf8.h retcode.h file.h buffer.h crypt.h \
|
||||
edef.h execute.h fileio.h input.h lock.h log.h window.h
|
||||
fileio.o: fileio.c fileio.h retcode.h estruct.h line.h utf8.h crypt.h
|
||||
fileio.o: fileio.c estruct.h line.h utf8.h retcode.h fileio.h crypt.h
|
||||
flook.o: flook.c flook.h retcode.h estruct.h line.h utf8.h fileio.h
|
||||
globals.o: globals.c estruct.h line.h utf8.h retcode.h edef.h
|
||||
ibmpc.o: ibmpc.c estruct.h line.h utf8.h retcode.h edef.h
|
||||
|
2
crypt.c
2
crypt.c
@ -1,5 +1,7 @@
|
||||
/* crypt.c -- implements crypt.h */
|
||||
|
||||
#include "estruct.h"
|
||||
|
||||
#include "crypt.h"
|
||||
|
||||
/* CRYPT.C
|
||||
|
6
crypt.h
6
crypt.h
@ -1,9 +1,9 @@
|
||||
#ifndef _CRYPT_H_
|
||||
#define _CRYPT_H_
|
||||
|
||||
#include "estruct.h"
|
||||
|
||||
#if CRYPT
|
||||
#ifndef CRYPT
|
||||
#error CRYPT should be defined
|
||||
#elif CRYPT
|
||||
void myencrypt( char *bptr, unsigned len) ;
|
||||
#endif
|
||||
|
||||
|
1
file.c
1
file.c
@ -1,5 +1,6 @@
|
||||
/* file.c -- implements file.h */
|
||||
|
||||
#include "estruct.h"
|
||||
#include "file.h"
|
||||
|
||||
/* file.c
|
||||
|
4
file.h
4
file.h
@ -1,7 +1,9 @@
|
||||
#ifndef _FILE_H_
|
||||
#define _FILE_H_
|
||||
|
||||
#if CRYPT
|
||||
#ifndef CRYPT
|
||||
#error CRYPT should be defined.
|
||||
#elif CRYPT
|
||||
void cryptbufferkey( struct buffer *bp) ;
|
||||
int set_encryption_key( int f, int n) ;
|
||||
#endif
|
||||
|
1
fileio.c
1
fileio.c
@ -1,5 +1,6 @@
|
||||
/* fileio.c -- implements fileio.h */
|
||||
|
||||
#include "estruct.h"
|
||||
#include "fileio.h"
|
||||
|
||||
/* FILEIO.C
|
||||
|
Loading…
Reference in New Issue
Block a user