Change includes in proper way, i.e.

"readline.h" --> <readline/readline.h>
Remove -I./readline from Makefile (again!)
This commit is contained in:
Andrey A. Chernov 1994-06-12 08:51:09 +00:00
parent 71dda56bca
commit cc27e4f00d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1710
17 changed files with 25 additions and 25 deletions

View File

@ -1,7 +1,7 @@
# $Id: Makefile,v 1.11 1994/06/10 07:35:49 ache Exp $
# $Id: Makefile,v 1.12 1994/06/11 15:18:01 paul Exp $
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/readline -DVOID_SIGHANDLER \
CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER \
-DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_VARARGS_H \
-DFreeBSD

View File

@ -50,8 +50,8 @@ extern int errno;
#include "rldefs.h"
/* Some standard library routines. */
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
#if !defined (strchr) && !defined (__STDC__)
extern char *strchr (), *strrchr ();

View File

@ -63,7 +63,7 @@ extern struct passwd *getpwent ();
#include "rldefs.h"
/* Some standard library routines. */
#include "readline.h"
#include <readline/readline.h>
/* Possible values for do_replace in rl_complete_internal. */
#define NO_MATCH 0

View File

@ -39,8 +39,8 @@
#include "rldefs.h"
/* Some standard library routines. */
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
#if !defined (strchr) && !defined (__STDC__)
extern char *strchr (), *strrchr ();

View File

@ -24,7 +24,7 @@
#include <stdio.h>
#endif /* !BUFSIZ */
#include "readline.h"
#include <readline/readline.h>
/* An array of function pointers, one for each possible key.
If the type byte is ISKMAP, then the pointer is the address of

View File

@ -37,7 +37,7 @@ extern char *xmalloc (), *xrealloc ();
#endif /* HAVE_STDLIB_H */
#include "rlconf.h"
#include "readline.h"
#include <readline/readline.h>
FUNMAP **funmap = (FUNMAP **)NULL;
static int funmap_size = 0;

View File

@ -50,7 +50,7 @@ extern int errno;
#endif /* !errno */
#include "memalloc.h"
#include "history.h"
#include <readline/history.h>
#if defined (STATIC_MALLOC)
static char *xmalloc (), *xrealloc ();

View File

@ -28,8 +28,8 @@
#include <stdio.h>
#include "memalloc.h"
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
#define STREQ(a, b) (((a)[0] == (b)[0]) && (strcmp ((a), (b)) == 0))
#define STREQN(a, b, n) (((a)[0] == (b)[0]) && (strncmp ((a), (b), (n)) == 0))

View File

@ -26,7 +26,7 @@
#endif /* HAVE_STDLIB_H */
#include "rlconf.h"
#include "keymaps.h"
#include <readline/keymaps.h>
#include "emacs_keymap.c"
#ifdef VI_MODE

View File

@ -25,7 +25,7 @@
#if defined (FD_SET)
#include <sys/time.h>
#endif
#include "readline.h"
#include <readline/readline.h>
extern int rl_explicit_arg;

View File

@ -59,8 +59,8 @@ extern int errno;
#include "rldefs.h"
/* Some standard library routines. */
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
/* NOTE: Functions and variables prefixed with `_rl_' are
pseudo-global: they are global so they can be shared

View File

@ -36,7 +36,7 @@
#endif /* OSF1 || BSD386 */
#include "rldefs.h"
#include "readline.h"
#include <readline/readline.h>
#if !defined (errno)
extern int errno;

View File

@ -24,8 +24,8 @@
#include <stdio.h>
#include "memalloc.h"
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
#define STREQ(a, b) (((a)[0] == (b)[0]) && (strcmp ((a), (b)) == 0))
#define STREQN(a, b, n) (((a)[0] == (b)[0]) && (strncmp ((a), (b), (n)) == 0))

View File

@ -55,8 +55,8 @@ extern int errno;
#include "rldefs.h"
/* Some standard library routines. */
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
static void cr ();

View File

@ -33,7 +33,7 @@
# include "ansi_stdlib.h"
#endif /* HAVE_STDLIB_H */
#include "tilde.h"
#include <readline/tilde.h>
#include <pwd.h>
#if defined (USG) && !defined (HAVE_GETPW_DECLS)

View File

@ -24,7 +24,7 @@
#include <stdio.h>
#endif /* !BUFSIZ */
#include "readline.h"
#include <readline/readline.h>
#if 0
extern KEYMAP_ENTRY_ARRAY vi_escape_keymap;

View File

@ -42,8 +42,8 @@
/* Some standard library routines. */
#include "rldefs.h"
#include "readline.h"
#include "history.h"
#include <readline/readline.h>
#include <readline/history.h>
#ifndef digit
#define digit(c) ((c) >= '0' && (c) <= '9')