diff options
Diffstat (limited to 'src/lock.c')
-rw-r--r-- | src/lock.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,7 +15,6 @@ | |||
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; |
@@ -227,7 +226,7 @@ fix_tagname (const char *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 | } |