diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-10 20:49:13 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-10 20:49:13 +0300 |
commit | ed90a093017ea4d4ac5fd2776917f6dd873166e0 (patch) | |
tree | 57be9a38c05096976c0cf1f5976686c3e4f597c5 | |
parent | 0455a1061c935f16d2d264f7008d5eb7344c352c (diff) | |
download | wydawca-ed90a093017ea4d4ac5fd2776917f6dd873166e0.tar.gz wydawca-ed90a093017ea4d4ac5fd2776917f6dd873166e0.tar.bz2 |
Remove c-ctype module.
-rw-r--r-- | gnulib.modules | 1 | ||||
-rw-r--r-- | src/lock.c | 3 | ||||
-rw-r--r-- | src/meta.c | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/gnulib.modules b/gnulib.modules index 748ea38..ed29076 100644 --- a/gnulib.modules +++ b/gnulib.modules | |||
@@ -1,8 +1,7 @@ | |||
1 | xalloc | 1 | xalloc |
2 | c-ctype | ||
3 | obstack | 2 | obstack |
4 | getline | 3 | getline |
5 | mkdtemp | 4 | mkdtemp |
6 | save-cwd | 5 | save-cwd |
7 | backupfile | 6 | backupfile |
8 | strerror | 7 | strerror |
@@ -12,13 +12,12 @@ | |||
12 | GNU General Public License for more details. | 12 | GNU General Public License for more details. |
13 | 13 | ||
14 | You should have received a copy of the GNU General Public License along | 14 | You should have received a copy of the GNU General Public License along |
15 | with wydawca. If not, see <http://www.gnu.org/licenses/>. */ | 15 | with wydawca. If not, see <http://www.gnu.org/licenses/>. */ |
16 | 16 | ||
17 | #include "wydawca.h" | 17 | #include "wydawca.h" |
18 | #include "c-ctype.h" | ||
19 | #include "xgethostname.h" | 18 | #include "xgethostname.h" |
20 | 19 | ||
21 | int enable_locking = 1; | 20 | int enable_locking = 1; |
22 | char *lockdir; | 21 | char *lockdir; |
23 | time_t lock_expire_time = 5*60; | 22 | time_t lock_expire_time = 5*60; |
24 | time_t lock_timeout = 60; | 23 | time_t lock_timeout = 60; |
@@ -224,13 +223,13 @@ static char * | |||
224 | fix_tagname (const char *tag) | 223 | fix_tagname (const char *tag) |
225 | { | 224 | { |
226 | char *tagname = xstrdup (tag); | 225 | char *tagname = xstrdup (tag); |
227 | char *p; | 226 | char *p; |
228 | 227 | ||
229 | for (p = tagname; *p; p++) | 228 | for (p = tagname; *p; p++) |
230 | if (!c_isalnum (*p) && *p != '_' && *p != '-') | 229 | if (!isalnum (*p) && *p != '_' && *p != '-') |
231 | *p = '_'; | 230 | *p = '_'; |
232 | return tagname; | 231 | return tagname; |
233 | } | 232 | } |
234 | 233 | ||
235 | char * | 234 | char * |
236 | wydawca_lockname (const char *tag) | 235 | wydawca_lockname (const char *tag) |
@@ -13,13 +13,12 @@ | |||
13 | 13 | ||
14 | You should have received a copy of the GNU General Public License along | 14 | You should have received a copy of the GNU General Public License along |
15 | with wydawca. If not, see <http://www.gnu.org/licenses/>. */ | 15 | with wydawca. If not, see <http://www.gnu.org/licenses/>. */ |
16 | 16 | ||
17 | #include "wydawca.h" | 17 | #include "wydawca.h" |
18 | #include "sql.h" | 18 | #include "sql.h" |
19 | #include <c-ctype.h> | ||
20 | 19 | ||
21 | static const char * | 20 | static const char * |
22 | meta_expand (struct metadef *def, void *data) | 21 | meta_expand (struct metadef *def, void *data) |
23 | { | 22 | { |
24 | if (!def->value) | 23 | if (!def->value) |
25 | { | 24 | { |