diff options
author | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:58 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:58 +0100 |
commit | 63cccae4684f83d2a462bc8abf24e51d1bd6efb6 (patch) | |
tree | 433db3f0b44e0f46e4130141f4a59db9c3564557 /lib | |
parent | a2c5f3cadcfd2ceab9d37fc847fa0d800a95633a (diff) | |
download | util-linux-old-63cccae4684f83d2a462bc8abf24e51d1bd6efb6.tar.gz |
Imported from util-linux-2.11t tarball.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nls.h | 2 | ||||
-rw-r--r-- | lib/pathnames.h | 2 | ||||
-rw-r--r-- | lib/widechar.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -14,7 +14,7 @@ int main(int argc, char *argv[]); # include <locale.h> #endif -#ifdef ENABLE_NLS +#if defined MAY_ENABLE_NLS && !defined DISABLE_NLS # include <libintl.h> # define _(Text) gettext (Text) # ifdef gettext_noop diff --git a/lib/pathnames.h b/lib/pathnames.h index 33886a5c..d9e05b32 100644 --- a/lib/pathnames.h +++ b/lib/pathnames.h @@ -105,7 +105,7 @@ Libc5 and glibc 2.0-2.1 have /var/spool/mail, but glibc 2.1.1 has /var/mail. /* no more . in DEFPATH */ #define _PATH_DEFPATH "/usr/local/bin:/bin:/usr/bin" -#define _PATH_DEFPATH_ROOT SBINDIR ":/bin:" USRSBINDIR ":/usr/bin" +#define _PATH_DEFPATH_ROOT "/usr/local/sbin:/usr/local/bin:" SBINDIR ":/bin:" USRSBINDIR ":/usr/bin" #define _PATH_HUSHLOGIN ".hushlogin" #define _PATH_LASTLOG LOGDIR "/lastlog" diff --git a/lib/widechar.h b/lib/widechar.h index 1aa91f3f..61021be3 100644 --- a/lib/widechar.h +++ b/lib/widechar.h @@ -14,7 +14,7 @@ #if 1 /* explicit prototypes, since sometimes <wchar.h> does not give them */ -extern int wcwidth (wint_t c); +extern int wcwidth (wchar_t c); /* old: wint_t c */ extern int wcswidth (const wchar_t *s, size_t n); extern size_t wcslen (const wchar_t *s); extern wchar_t *wcsdup (const wchar_t *s); |