summaryrefslogtreecommitdiff
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
commit10ac227ea758a1a1e98420b4ca299323ce1fae9c (patch)
treeb83dcc288cd7dd3b82f888634b39cafb411a2712 /libiberty/pexecute.c
parent3be52a802e79fde156ad674fc146b1a685bed153 (diff)
downloadgdb-10ac227ea758a1a1e98420b4ca299323ce1fae9c.tar.gz
* 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 6da97deee4b..c644c98e0fe 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? */