aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-10 20:49:13 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-10 20:49:13 +0300
commited90a093017ea4d4ac5fd2776917f6dd873166e0 (patch)
tree57be9a38c05096976c0cf1f5976686c3e4f597c5
parent0455a1061c935f16d2d264f7008d5eb7344c352c (diff)
downloadwydawca-ed90a093017ea4d4ac5fd2776917f6dd873166e0.tar.gz
wydawca-ed90a093017ea4d4ac5fd2776917f6dd873166e0.tar.bz2
Remove c-ctype module.
-rw-r--r--gnulib.modules1
-rw-r--r--src/lock.c3
-rw-r--r--src/meta.c1
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 @@
1xalloc 1xalloc
2c-ctype
3obstack 2obstack
4getline 3getline
5mkdtemp 4mkdtemp
6save-cwd 5save-cwd
7backupfile 6backupfile
8strerror 7strerror
diff --git a/src/lock.c b/src/lock.c
index bc8505c..24d0205 100644
--- a/src/lock.c
+++ b/src/lock.c
@@ -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
21int enable_locking = 1; 20int enable_locking = 1;
22char *lockdir; 21char *lockdir;
23time_t lock_expire_time = 5*60; 22time_t lock_expire_time = 5*60;
24time_t lock_timeout = 60; 23time_t lock_timeout = 60;
@@ -224,13 +223,13 @@ static char *
224fix_tagname (const char *tag) 223fix_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
235char * 234char *
236wydawca_lockname (const char *tag) 235wydawca_lockname (const char *tag)
diff --git a/src/meta.c b/src/meta.c
index 545ac36..30d3041 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -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
21static const char * 20static const char *
22meta_expand (struct metadef *def, void *data) 21meta_expand (struct metadef *def, void *data)
23{ 22{
24 if (!def->value) 23 if (!def->value)
25 { 24 {

Return to:

Send suggestions and report system problems to the System administrator.