|
From: <sv...@va...> - 2012-10-20 19:28:21
|
florian 2012-10-20 20:28:13 +0100 (Sat, 20 Oct 2012)
New Revision: 13061
Log:
The listener does not use VEX types anywhere else. So this
change fixes the copy-and-pasted panic functions to use
native C types.
Modified files:
trunk/auxprogs/valgrind-listener.c
Modified: trunk/auxprogs/valgrind-listener.c (+4 -4)
===================================================================
--- trunk/auxprogs/valgrind-listener.c 2012-10-20 18:18:35 +01:00 (rev 13060)
+++ trunk/auxprogs/valgrind-listener.c 2012-10-20 20:28:13 +01:00 (rev 13061)
@@ -64,7 +64,7 @@
/*---------------------------------------------------------------*/
__attribute__ ((noreturn))
-static void panic ( Char* str )
+static void panic ( const char* str )
{
fprintf(stderr,
"\nvalgrind-listener: the "
@@ -75,7 +75,7 @@
}
__attribute__ ((noreturn))
-static void my_assert_fail ( const Char* expr, const Char* file, Int line, const Char* fn )
+static void my_assert_fail ( const char* expr, const char* file, int line, const char* fn )
{
fprintf(stderr,
"\nvalgrind-listener: %s:%d (%s): Assertion '%s' failed.\n",
@@ -168,7 +168,7 @@
/* returns 0 if invalid, else port # */
-static int atoi_portno ( char* str )
+static int atoi_portno ( const char* str )
{
int n = 0;
while (1) {
@@ -210,7 +210,7 @@
}
-static void banner ( char* str )
+static void banner ( const char* str )
{
time_t t;
t = time(NULL);
|