summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-30 19:07:35 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-30 19:07:35 -0800
commit0707f8c438a67e379f6b34de02fe745defd18ea2 (patch)
treed6b97402cc9ae9599790d0b15b8f6cdf8175f748 /sysif.c
parentd462db99d38119e5ae8fa983c057bbec21d3d9f7 (diff)
downloadtxr-0707f8c438a67e379f6b34de02fe745defd18ea2.tar.gz
txr-0707f8c438a67e379f6b34de02fe745defd18ea2.tar.bz2
txr-0707f8c438a67e379f6b34de02fe745defd18ea2.zip
C++ breakage: multiple definition of name_s.
* lib.c (name_s): Defined here now. (obj_init): name_s initialized here. * lib.h (name_s): Declared. * match.c (name_s): Definition removed. (syms_init): Initialization of name_s removed. * sysif.c (name_s): Definition removed. (sysif_init): Initialization of name_s removed.
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysif.c b/sysif.c
index eba00a27..825f5697 100644
--- a/sysif.c
+++ b/sysif.c
@@ -85,7 +85,7 @@ val gid_s, rdev_s, size_s, blksize_s, blocks_s;
val atime_s, mtime_s, ctime_s;
#if HAVE_PWUID
-val passwd_s, name_s, gecos_s, dir_s, shell_s;
+val passwd_s, gecos_s, dir_s, shell_s;
#endif
#if HAVE_GRGID
@@ -1160,7 +1160,6 @@ void sysif_init(void)
ctime_s = intern(lit("ctime"), user_package);
#if HAVE_PWUID
passwd_s = intern(lit("passwd"), user_package);
- name_s = intern(lit("name"), user_package);
gecos_s = intern(lit("gecos"), user_package);
dir_s = intern(lit("dir"), user_package);
shell_s = intern(lit("shell"), user_package);