X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftoe.c;h=d57a5fe49f48c1391357ff4248235bdc97d1fc15;hp=06840455393d6909dc2d8286605374ea892c1292;hb=4e793faf6575b2297482f77b2bc3d18105c0fc76;hpb=761e4f0825b330e970558e82a4bd638383914429 diff --git a/progs/toe.c b/progs/toe.c index 06840455..d57a5fe4 100644 --- a/progs/toe.c +++ b/progs/toe.c @@ -44,7 +44,7 @@ #include #endif -MODULE_ID("$Id: toe.c,v 1.71 2013/03/09 22:45:23 tom Exp $") +MODULE_ID("$Id: toe.c,v 1.72 2013/05/25 20:13:07 tom Exp $") #define isDotname(name) (!strcmp(name, ".") || !strcmp(name, "..")) @@ -323,7 +323,7 @@ sorthook(int db_index, int db_limit, const char *term_name, TERMTYPE *tp) data->description = strmalloc(term_description(tp)); } -#if USE_TERMCAP +#if NCURSES_USE_TERMCAP static void show_termcap(int db_index, int db_limit, char *buffer, DescHook hook) { @@ -350,7 +350,7 @@ show_termcap(int db_index, int db_limit, char *buffer, DescHook hook) } #endif -#if USE_DATABASE +#if NCURSES_USE_DATABASE static char * copy_entryname(DIRENT * src) { @@ -374,7 +374,7 @@ typelist(int eargc, char *eargv[], int i; for (i = 0; i < eargc; i++) { -#if USE_DATABASE +#if NCURSES_USE_DATABASE if (_nc_is_dir_path(eargv[i])) { char *cwd_buf = 0; DIR *termdir; @@ -502,7 +502,7 @@ typelist(int eargc, char *eargv[], } #endif #endif -#if USE_TERMCAP +#if NCURSES_USE_TERMCAP #if HAVE_BSD_CGETENT { CGETENT_CONST char *db_array[2];