File: edit-null.c

package info (click to toggle)
rc 1.7.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,084 kB
  • ctags: 1,050
  • sloc: ansic: 7,631; sh: 1,123; yacc: 124; makefile: 100; perl: 13
file content (35 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "rc.h"

#include <errno.h>

#include <sys/types.h>

#include "edit.h"

bool editing = 0;

void *edit_begin(int fd) {
	assert(0); /* should never be called */
	return NULL;
}

char *edit_alloc(void *cookie, size_t *count) {
	assert(0); /* should never be called */
	return NULL;
}

void edit_prompt(void *cookie, char *prompt) {
	assert(0); /* should never be called */
}

void edit_free(void *buffer) {
	assert(0); /* should never be called */
}

void edit_end(void *cookie) {
	assert(0); /* should never be called */
}

void edit_reset(void *cookie) {
	assert(0); /* should never be called */
}