File: warning_implicit_declaration.patch

package info (click to toggle)
oneko 1.2.sakura.6-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,000 kB
  • sloc: ansic: 1,283; perl: 25; makefile: 23
file content (17 lines) | stat: -rw-r--r-- 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: remove warning: implicit declaration of function 'pause'
Author: Ricardo Mones <mones@debian.org>
Last-Update: 2017-08-18
Forwarded: not-needed

Index: b/oneko.h
===================================================================
--- a/oneko.h	2025-09-14 23:04:41.085183527 +0200
+++ b/oneko.h	2025-09-14 23:04:41.081183459 +0200
@@ -15,6 +15,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include <signal.h>
 #include <math.h>