aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pexecute.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-03 16:00:39 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-03 16:00:39 +0000
commit08372f14279208e1682dfc35325ade9c648e787e (patch)
treea2dc90a89cbf2d1e88de76179d2ffd42b194d32c /libiberty/pexecute.c
parent19c33eebb1bd216e6db2d783d5cb4ef304853d96 (diff)
downloadgdb-08372f14279208e1682dfc35325ade9c648e787e.zip
gdb-08372f14279208e1682dfc35325ade9c648e787e.tar.gz
gdb-08372f14279208e1682dfc35325ade9c648e787e.tar.bz2
* floatformat.c: Add casts to avoid signed/unsigned warnings.
* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
Diffstat (limited to 'libiberty/pexecute.c')
-rw-r--r--libiberty/pexecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c
index 6da97de..c644c98 100644
--- a/libiberty/pexecute.c
+++ b/libiberty/pexecute.c
@@ -616,7 +616,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
const char *program;
char * const *argv;
const char *this_pname;
- const char *temp_base;
+ const char *temp_base ATTRIBUTE_UNUSED;
char **errmsg_fmt, **errmsg_arg;
int flags;
{
@@ -723,7 +723,7 @@ int
pwait (pid, status, flags)
int pid;
int *status;
- int flags;
+ int flags ATTRIBUTE_UNUSED;
{
/* ??? Here's an opportunity to canonicalize the values in STATUS.
Needed? */