Revert extension
This commit is contained in:
parent
fa8e81e288
commit
ecd9879655
@ -1,8 +0,0 @@
|
||||
#ifndef EXTENSION_H
|
||||
#define EXTENSION_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
struct filedata runfilter(struct filedata *f);
|
||||
|
||||
#endif // EXTENSION_H
|
@ -1,4 +0,0 @@
|
||||
#ifndef SERVER_H
|
||||
#define SERVER_H
|
||||
|
||||
#endif // SERVER_H
|
@ -1,5 +0,0 @@
|
||||
#include "extension.h"
|
||||
#include "types.h"
|
||||
#include "util.h"
|
||||
|
||||
struct filedata runfilter(struct filedata *f) { return *f; }
|
@ -3,7 +3,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "arg.h"
|
||||
#include "extension.h"
|
||||
#include "file.h"
|
||||
#include "process.h"
|
||||
#include "types.h"
|
||||
@ -54,7 +53,7 @@ void run(FILE *fp, char *filename, bool tty) {
|
||||
f = readfile(fp, conf.isstdin);
|
||||
|
||||
if (conf.extension != NULL) {
|
||||
f = runfilter(&f);
|
||||
// TODO
|
||||
}
|
||||
|
||||
if (conf.pager) {
|
||||
|
Loading…
Reference in New Issue
Block a user