Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
e7c43521
Commit
e7c43521
authored
8 years ago
by
Mike Frysinger
Committed by
Benno Schulenberg
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
drop the wchar.h/wctype.h/stdarg.h checks
Since gnulib provides these now, we can assume them.
parent
9a2deb41
master
feature/match-parens
refactor/readbility
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
autogen.sh
+3
-0
autogen.sh
configure.ac
+1
-1
configure.ac
src/chars.c
+0
-4
src/chars.c
src/nano.h
+0
-2
src/nano.h
with
4 additions
and
7 deletions
+4
-7
autogen.sh
View file @
e7c43521
...
...
@@ -12,10 +12,13 @@ modules="
iswblank
regex
snprintf-posix
stdarg
strcase
strcasestr-simple
strnlen
vsnprintf-posix
wchar
wctype-h
"
# Make sure the local gnulib git repo is up-to-date.
...
...
This diff is collapsed.
Click to expand it.
configure.ac
View file @
e7c43521
...
...
@@ -57,7 +57,7 @@ AC_DEFINE_DIR([PKGDATADIR], [pkgdatadir], [Where data are placed to.])
dnl Checks for header files.
AC_CHECK_HEADERS(libintl.h limits.h sys/param.h
wchar.h wctype.h stdarg.h
)
AC_CHECK_HEADERS(libintl.h limits.h sys/param.h)
dnl Checks for options.
...
...
This diff is collapsed.
Click to expand it.
src/chars.c
View file @
e7c43521
...
...
@@ -26,12 +26,8 @@
#include <ctype.h>
#ifdef ENABLE_UTF8
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
#ifdef HAVE_WCTYPE_H
#include <wctype.h>
#endif
static
bool
use_utf8
=
FALSE
;
/* Whether we've enabled UTF-8 support. */
...
...
This diff is collapsed.
Click to expand it.
src/nano.h
View file @
e7c43521
...
...
@@ -49,9 +49,7 @@
#include <sys/param.h>
#endif
#ifdef HAVE_STDARG_H
#include <stdarg.h>
#endif
/* Suppress warnings for __attribute__((warn_unused_result)). */
#define IGNORE_CALL_RESULT(call) do { if (call) {} } while(0)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help