-static int
-pex_djgpp_wait (struct pex_obj *obj, long pid, int *status,
- struct pex_time *time, int done, const char **errmsg,
- int *err)
+static pid_t
+pex_djgpp_wait (struct pex_obj *obj, pid_t pid, int *status,
+ struct pex_time *time, int done ATTRIBUTE_UNUSED,
+ const char **errmsg ATTRIBUTE_UNUSED,
+ int *err ATTRIBUTE_UNUSED)