blob: 519daf3b9ae9f1cb040cc77d107adf88866f4292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* Woraround for crappy readline.h which defines wrong prototypes.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if HAVE_LIBREADLINE
#include <stdio.h>
#include "rlcrap.h"
CPFunction *cmdgen_ptr;
CPFunction *fnmgen_ptr;
void rlcrap_setpointers(CorrectFunProto cgp, CorrectFunProto fgp) {
cmdgen_ptr = cgp;
fnmgen_ptr = fgp;
}
#endif
|