X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fterm_entry.h;h=b12710d3d083d7f9885792488978c71b49e9a264;hp=02b7a42b78480096ca001dd2e858ab29f58ffbdd;hb=8d00601178f9d92b95a91c93f74547517d93168b;hpb=eee1237c858e39ddc0970dfc5a44d0ec76e2d9e4 diff --git a/include/term_entry.h b/include/term_entry.h index 02b7a42b..b12710d3 100644 --- a/include/term_entry.h +++ b/include/term_entry.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. * + * Copyright (c) 1998-2013,2014 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,7 +32,7 @@ * and: Thomas E. Dickey 1998-on * ****************************************************************************/ -/* $Id: term_entry.h,v 1.43 2013/02/02 20:07:23 tom Exp $ */ +/* $Id: term_entry.h,v 1.45 2014/11/01 14:47:00 tom Exp $ */ /* * term_entry.h -- interface to entry-manipulation code @@ -53,14 +53,14 @@ extern "C" { */ typedef enum { dbdTIC = 0, /* special, used by tic when writing entry */ -#if USE_DATABASE +#if NCURSES_USE_DATABASE dbdEnvOnce, /* the $TERMINFO environment variable */ dbdHome, /* $HOME/.terminfo */ dbdEnvList, /* the $TERMINFO_DIRS environment variable */ dbdCfgList, /* the compiled-in TERMINFO_DIRS value */ dbdCfgOnce, /* the compiled-in TERMINFO value */ #endif -#if USE_TERMCAP +#if NCURSES_USE_TERMCAP dbdEnvOnce2, /* the $TERMCAP environment variable */ dbdEnvList2, /* the $TERMPATH environment variable */ dbdCfgList2, /* the compiled-in TERMPATH */ @@ -170,7 +170,7 @@ extern NCURSES_EXPORT(int) _nc_parse_entry (ENTRY *, int, bool); extern NCURSES_EXPORT(int) _nc_capcmp (const char *, const char *); /* write_entry.c: writing an entry to the file system */ -extern NCURSES_EXPORT(void) _nc_set_writedir (char *); +extern NCURSES_EXPORT(void) _nc_set_writedir (const char *); extern NCURSES_EXPORT(void) _nc_write_entry (TERMTYPE *const); /* comp_parse.c: entry list handling */