mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 23:54:38 +01:00
Change includes in proper way, i.e.
"readline.h" --> <readline/readline.h> Remove -I./readline from Makefile (again!)
This commit is contained in:
parent
71dda56bca
commit
cc27e4f00d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1710
@ -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
|
||||
|
||||
|
@ -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 ();
|
||||
|
@ -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
|
||||
|
@ -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 ();
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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 ();
|
||||
|
@ -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))
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -36,7 +36,7 @@
|
||||
#endif /* OSF1 || BSD386 */
|
||||
|
||||
#include "rldefs.h"
|
||||
#include "readline.h"
|
||||
#include <readline/readline.h>
|
||||
|
||||
#if !defined (errno)
|
||||
extern int errno;
|
||||
|
@ -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))
|
||||
|
@ -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 ();
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user