#include "virauth.h"
#include "virauthconfig.h"
#include "virstring.h"
-#include "c-ctype.h"
#define VIR_FROM_THIS VIR_FROM_REMOTE
p = *transport;
while (*p) {
- *p = c_tolower(*p);
+ *p = g_ascii_tolower(*p);
p++;
}
}
#include <config.h>
-#include "c-ctype.h"
#include "virmacaddr.h"
#include "virrandom.h"
#include "virutil.h"
++p;
while (*q == '0' && g_ascii_isxdigit(q[1]))
++q;
- c = c_tolower(*p);
- d = c_tolower(*q);
+ c = g_ascii_tolower(*p);
+ d = g_ascii_tolower(*q);
if (c == 0 || d == 0)
break;
# include <sys/un.h>
#endif
-#include "c-ctype.h"
#include "mgetgroups.h"
#include "virerror.h"
#include "virlog.h"
if (!suffix[1] || STRCASEEQ(suffix + 1, "iB")) {
base = 1024;
- } else if (c_tolower(suffix[1]) == 'b' && !suffix[2]) {
+ } else if (g_ascii_tolower(suffix[1]) == 'b' && !suffix[2]) {
base = 1000;
} else {
virReportError(VIR_ERR_INVALID_ARG,
return -1;
}
scale = 1;
- switch (c_tolower(*suffix)) {
+ switch (g_ascii_tolower(*suffix)) {
case 'e':
scale *= base;
G_GNUC_FALLTHROUGH;
#include <config.h>
-#include <c-ctype.h>
-
#include "internal.h"
#include "virerror.h"
#include "virfile.h"
tmp = copy;
for (; *tmp != '\0'; ++tmp)
- *tmp = c_tolower(*tmp);
+ *tmp = g_ascii_tolower(*tmp);
model = virDomainControllerModelSCSITypeFromString(copy);
VIR_FREE(copy);
tmp = virtualDev_string;
for (; *tmp != '\0'; ++tmp)
- *tmp = c_tolower(*tmp);
+ *tmp = g_ascii_tolower(*tmp);
*virtualDev = virVMXControllerModelSCSITypeFromString(virtualDev_string);
#include "internal.h"
#include "virbitmap.h"
#include "virbuffer.h"
-#include "c-ctype.h"
#include "conf/domain_conf.h"
#include "viralloc.h"
#include "vircommand.h"
char *p = str;
for (i = 0; signame[i]; i++)
- p[i] = c_tolower(signame[i]);
+ p[i] = g_ascii_tolower(signame[i]);
if (virStrToLong_i(p, NULL, 10, &signum) >= 0)
return signum;
#include <stdarg.h>
#include <unistd.h>
#include <sys/time.h>
-#include "c-ctype.h"
#include <fcntl.h>
#include <time.h>
#include <sys/stat.h>
while (true) {
vshPrint(ctl, "\r%s %s %s: ", msg, _("Try again?"),
relax_avail ? "[y,n,i,f,?]" : "[y,n,f,?]");
- c = c_tolower(getchar());
+ c = g_ascii_tolower(getchar());
if (c == '?') {
vshPrintRaw(ctl,