aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/cvexpr.c
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-01-07 08:32:51 +0000
committerMichael Chastain <mec@google.com>2004-01-07 08:32:51 +0000
commiteca3e36bf8f1637ff3f4add6176ba978fc4e8995 (patch)
tree968948fd58ed4ecb86ded5c739ef5782c20ddb8c /gdb/testsuite/gdb.base/cvexpr.c
parent24d22a409b49f6b563aa6370aad1baa1a5ac2386 (diff)
downloadgdb-eca3e36bf8f1637ff3f4add6176ba978fc4e8995.zip
gdb-eca3e36bf8f1637ff3f4add6176ba978fc4e8995.tar.gz
gdb-eca3e36bf8f1637ff3f4add6176ba978fc4e8995.tar.bz2
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/cvexpr.c: Be type-safe with function pointers and data pointers.
Diffstat (limited to 'gdb/testsuite/gdb.base/cvexpr.c')
-rw-r--r--gdb/testsuite/gdb.base/cvexpr.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/testsuite/gdb.base/cvexpr.c b/gdb/testsuite/gdb.base/cvexpr.c
index 5871209..afbcd31 100644
--- a/gdb/testsuite/gdb.base/cvexpr.c
+++ b/gdb/testsuite/gdb.base/cvexpr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -409,26 +409,26 @@ int main ()
use (&v_boolean2);
use (&v_misordered);
- use (v_char_func);
- use (v_signed_char_func);
- use (v_unsigned_char_func);
+ use (&v_char_func);
+ use (&v_signed_char_func);
+ use (&v_unsigned_char_func);
- use (v_short_func);
- use (v_signed_short_func);
- use (v_unsigned_short_func);
+ use (&v_short_func);
+ use (&v_signed_short_func);
+ use (&v_unsigned_short_func);
- use (v_int_func);
- use (v_signed_int_func);
- use (v_unsigned_int_func);
+ use (&v_int_func);
+ use (&v_signed_int_func);
+ use (&v_unsigned_int_func);
- use (v_long_func);
- use (v_signed_long_func);
- use (v_unsigned_long_func);
+ use (&v_long_func);
+ use (&v_signed_long_func);
+ use (&v_unsigned_long_func);
- use (v_long_long_func);
- use (v_signed_long_long_func);
- use (v_unsigned_long_long_func);
+ use (&v_long_long_func);
+ use (&v_signed_long_long_func);
+ use (&v_unsigned_long_long_func);
- use (v_float_func);
- use (v_double_func);
+ use (&v_float_func);
+ use (&v_double_func);
}