OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [readline/] [compat.c] - Diff between revs 834 and 842

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 834 Rev 842
/* compat.c -- backwards compatibility functions. */
/* compat.c -- backwards compatibility functions. */
 
 
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000 Free Software Foundation, Inc.
 
 
   This file is part of the GNU Readline Library, a library for
   This file is part of the GNU Readline Library, a library for
   reading lines of text with interactive input and history editing.
   reading lines of text with interactive input and history editing.
 
 
   The GNU Readline Library is free software; you can redistribute it
   The GNU Readline Library is free software; you can redistribute it
   and/or modify it under the terms of the GNU General Public License
   and/or modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2, or
   as published by the Free Software Foundation; either version 2, or
   (at your option) any later version.
   (at your option) any later version.
 
 
   The GNU Readline Library is distributed in the hope that it will be
   The GNU Readline Library is distributed in the hope that it will be
   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   GNU General Public License for more details.
 
 
   The GNU General Public License is often shipped with GNU software, and
   The GNU General Public License is often shipped with GNU software, and
   is generally kept in a file called COPYING or LICENSE.  If you do not
   is generally kept in a file called COPYING or LICENSE.  If you do not
   have a copy of the license, write to the Free Software Foundation,
   have a copy of the license, write to the Free Software Foundation,
   59 Temple Place, Suite 330, Boston, MA 02111 USA. */
   59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
#define READLINE_LIBRARY
 
 
#if defined (HAVE_CONFIG_H)
#if defined (HAVE_CONFIG_H)
#  include <config.h>
#  include <config.h>
#endif
#endif
 
 
#include <stdio.h>
#include <stdio.h>
 
 
#include "rlstdc.h"
#include "rlstdc.h"
#include "rltypedefs.h"
#include "rltypedefs.h"
 
 
extern void rl_free_undo_list PARAMS((void));
extern void rl_free_undo_list PARAMS((void));
extern int rl_maybe_save_line PARAMS((void));
extern int rl_maybe_save_line PARAMS((void));
extern int rl_maybe_unsave_line PARAMS((void));
extern int rl_maybe_unsave_line PARAMS((void));
extern int rl_maybe_replace_line PARAMS((void));
extern int rl_maybe_replace_line PARAMS((void));
 
 
extern int rl_crlf PARAMS((void));
extern int rl_crlf PARAMS((void));
extern int rl_ding PARAMS((void));
extern int rl_ding PARAMS((void));
extern int rl_alphabetic PARAMS((int));
extern int rl_alphabetic PARAMS((int));
 
 
extern char **rl_completion_matches PARAMS((const char *, rl_compentry_func_t *));
extern char **rl_completion_matches PARAMS((const char *, rl_compentry_func_t *));
extern char *rl_username_completion_function PARAMS((const char *, int));
extern char *rl_username_completion_function PARAMS((const char *, int));
extern char *rl_filename_completion_function PARAMS((const char *, int));
extern char *rl_filename_completion_function PARAMS((const char *, int));
 
 
/* Provide backwards-compatible entry points for old function names. */
/* Provide backwards-compatible entry points for old function names. */
 
 
void
void
free_undo_list ()
free_undo_list ()
{
{
  rl_free_undo_list ();
  rl_free_undo_list ();
}
}
 
 
int
int
maybe_replace_line ()
maybe_replace_line ()
{
{
  return rl_maybe_replace_line ();
  return rl_maybe_replace_line ();
}
}
 
 
int
int
maybe_save_line ()
maybe_save_line ()
{
{
  return rl_maybe_save_line ();
  return rl_maybe_save_line ();
}
}
 
 
int
int
maybe_unsave_line ()
maybe_unsave_line ()
{
{
  return rl_maybe_unsave_line ();
  return rl_maybe_unsave_line ();
}
}
 
 
int
int
ding ()
ding ()
{
{
  return rl_ding ();
  return rl_ding ();
}
}
 
 
int
int
crlf ()
crlf ()
{
{
  return rl_crlf ();
  return rl_crlf ();
}
}
 
 
int
int
alphabetic (c)
alphabetic (c)
     int c;
     int c;
{
{
  return rl_alphabetic (c);
  return rl_alphabetic (c);
}
}
 
 
char **
char **
completion_matches (s, f)
completion_matches (s, f)
     const char *s;
     const char *s;
     rl_compentry_func_t *f;
     rl_compentry_func_t *f;
{
{
  return rl_completion_matches (s, f);
  return rl_completion_matches (s, f);
}
}
 
 
char *
char *
username_completion_function (s, i)
username_completion_function (s, i)
     const char *s;
     const char *s;
     int i;
     int i;
{
{
  return rl_username_completion_function (s, i);
  return rl_username_completion_function (s, i);
}
}
 
 
char *
char *
filename_completion_function (s, i)
filename_completion_function (s, i)
     const char *s;
     const char *s;
     int i;
     int i;
{
{
  return rl_filename_completion_function (s, i);
  return rl_filename_completion_function (s, i);
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.