Revert extension

This commit is contained in:
Shav Kinderlehrer 2023-05-18 10:01:14 -04:00
parent fa8e81e288
commit ecd9879655
4 changed files with 1 additions and 19 deletions

View File

@ -1,8 +0,0 @@
#ifndef EXTENSION_H
#define EXTENSION_H
#include "types.h"
struct filedata runfilter(struct filedata *f);
#endif // EXTENSION_H

View File

@ -1,4 +0,0 @@
#ifndef SERVER_H
#define SERVER_H
#endif // SERVER_H

View File

@ -1,5 +0,0 @@
#include "extension.h"
#include "types.h"
#include "util.h"
struct filedata runfilter(struct filedata *f) { return *f; }

View File

@ -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) {