summaryrefslogtreecommitdiffstats
path: root/loader/kon2
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-10-11 19:23:39 +0000
committerMatt Wilson <msw@redhat.com>1999-10-11 19:23:39 +0000
commit093d0f53f7b8ef3a5929891a2ce6592307d7383d (patch)
tree514c983187ebc56a58c6fece1dff07a6b7655d0a /loader/kon2
parent199aa0ec6b70b505a9ba1c304bf40ef414e02fee (diff)
downloadanaconda-093d0f53f7b8ef3a5929891a2ce6592307d7383d.tar.gz
anaconda-093d0f53f7b8ef3a5929891a2ce6592307d7383d.tar.xz
anaconda-093d0f53f7b8ef3a5929891a2ce6592307d7383d.zip
fix for glibc symbol clash
Diffstat (limited to 'loader/kon2')
-rw-r--r--loader/kon2/src/errors.c2
-rw-r--r--loader/kon2/src/mouse.c6
-rw-r--r--loader/kon2/src/term.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/loader/kon2/src/errors.c b/loader/kon2/src/errors.c
index a1a584726..13069352e 100644
--- a/loader/kon2/src/errors.c
+++ b/loader/kon2/src/errors.c
@@ -69,7 +69,7 @@ void fatal(const char *format, ...)
exit(EXIT_FAILURE);
}
-void warn(const char *format, ...)
+void kon_warn(const char *format, ...)
{
va_list args;
diff --git a/loader/kon2/src/mouse.c b/loader/kon2/src/mouse.c
index 47834f38e..d27a0635d 100644
--- a/loader/kon2/src/mouse.c
+++ b/loader/kon2/src/mouse.c
@@ -144,7 +144,7 @@ static int ConfigMouseBaud(const char *config)
mouseBaud = B2400;
break;
default:
- warn("invalid mouse baud rate %d; set to default (1200)\r\n", baud);
+ kon_warn("invalid mouse baud rate %d; set to default (1200)\r\n", baud);
case 1200:
mouseBaud = B1200;
break;
@@ -201,7 +201,7 @@ static int ConfigMouse(const char *config)
return SUCCESS;
}
}
- warn("unknown mouse type `%s' ignored; assuming no mouse\r\n", name);
+ kon_warn("unknown mouse type `%s' ignored; assuming no mouse\r\n", name);
return SUCCESS;
}
@@ -254,7 +254,7 @@ int MouseStart(void)
int mfd;
if ((mfd = open(mouseDev, O_RDWR|O_NONBLOCK)) < 0) {
- warn("couldn't open mouse device; mouse disabled\n");
+ kon_warn("couldn't open mouse device; mouse disabled\n");
Perror(mouseDev);
free(mouseDev);
mouseDev = NULL;
diff --git a/loader/kon2/src/term.c b/loader/kon2/src/term.c
index dccf4addb..a415b6b7d 100644
--- a/loader/kon2/src/term.c
+++ b/loader/kon2/src/term.c
@@ -259,7 +259,7 @@ static void ProcessArgs(int argc, const char *argv[])
const char *arg;
if (argv[i][0] != '-') {
- warn("bad arg `%s'; assumed `-%s'\r\n", argv[i]);
+ kon_warn("bad arg `%s'; assumed `-%s'\r\n", argv[i]);
arg = (char *) argv[i];
} else
arg = (char *) argv[i] + 1;
@@ -271,7 +271,7 @@ static void ProcessArgs(int argc, const char *argv[])
if (!strcasecmp(arg, "e"))
ConfigExecProg(argv[i]);
else if (SetCapArg(arg, argv[i]) < 0)
- warn("invalid capability `%s' ignored\r\n", arg);
+ kon_warn("invalid capability `%s' ignored\r\n", arg);
i++;
}
}