patch-onewclient_c 523 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-onewclient_c,v 1.2 2017/05/06 12:51:21 espie Exp $
  2. Index: onewclient.c
  3. --- onewclient.c.orig
  4. +++ onewclient.c
  5. @@ -21,6 +21,8 @@ History:
  6. ///////////////////////////////////////////////////////////////////////*/
  7. #include <signal.h>
  8. +#include <unistd.h>
  9. +#include <stdio.h>
  10. #include "onew.h"
  11. static int onew_DBG = 1;
  12. @@ -43,7 +45,7 @@ static dbg_printf(form,a,b,c,d,e,f,g){
  13. Onew_message(form,a,b,c,d,e,f,g);
  14. }
  15. -static open_onew(){
  16. +static void open_onew(){
  17. register int pid;
  18. char *command;