change file trans.{c,h} to encode.{c,h}
This commit is contained in:
parent
221a8588c0
commit
28fcd5ed7a
4 changed files with 7 additions and 7 deletions
6
Makefile
6
Makefile
|
@ -1,12 +1,12 @@
|
|||
CFLAGS = -g -Wall -Wextra -Werror
|
||||
|
||||
objects = main.o input.o trans.o
|
||||
objects = main.o input.o encode.o
|
||||
|
||||
b64 : $(objects)
|
||||
cc -o b64 $(objects)
|
||||
|
||||
main.o trans.o input.o : input.h
|
||||
main.o trans.o : trans.h
|
||||
main.o encode.o input.o : input.h
|
||||
main.o encode.o : encode.h
|
||||
|
||||
.PHONY : clean
|
||||
clean :
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "trans.h"
|
||||
#include "encode.h"
|
||||
|
||||
#define PADDING '='
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef HEADER_TRANS
|
||||
#define HEADER_TRANS
|
||||
#ifndef HEADER_ENCODE
|
||||
#define HEADER_ENCODE
|
||||
|
||||
int
|
||||
encode(unsigned char *op, int olen, unsigned char *sp);
|
2
main.c
2
main.c
|
@ -1,7 +1,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "input.h"
|
||||
#include "trans.h"
|
||||
#include "encode.h"
|
||||
|
||||
#define OBUFSIZE 4
|
||||
#define SBUFSIZE 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue