From: David Lawrence Ramsey Date: Thu, 2 Jun 2005 02:27:12 +0000 (+0000) Subject: fix mismatched #ifdefs X-Git-Tag: v1.3.8~229 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=95778fda7026dd00c661d84eb44dc5dc0eecc554;p=nano.git fix mismatched #ifdefs git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2574 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/proto.h b/src/proto.h index 77aca662..33ae447f 100644 --- a/src/proto.h +++ b/src/proto.h @@ -524,7 +524,7 @@ void do_gotolinecolumn_void(void); void do_gotopos(int line, size_t pos_x, int pos_y, size_t pos_pww); #endif void do_find_bracket(void); -#ifndef NANO_SMALL +#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) bool history_has_changed(void); void history_init(void); filestruct *find_history(filestruct *h, const char *s); diff --git a/src/search.c b/src/search.c index ce78a225..2ae9c385 100644 --- a/src/search.c +++ b/src/search.c @@ -1119,7 +1119,7 @@ void do_find_bracket(void) } #endif -#ifndef NANO_SMALL +#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) /* Indicate whether any of the history lists have changed. */ bool history_has_changed(void) { @@ -1239,4 +1239,4 @@ char *get_history_newer(filestruct **h) return (*h)->data; } -#endif /* !NANO_SMALL */ +#endif /* !NANO_SMALL && ENABLE_NANORC */