File: 0012-cmdline.c-Try-to-fix-func-decl-conflict.patch

package info (click to toggle)
cdcd 0.6.6-13.3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,768 kB
  • sloc: ansic: 4,891; sh: 2,142; makefile: 17
file content (22 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Boyuan Yang <byang@debian.org>
Date: Tue, 26 Nov 2024 14:21:14 -0500
Subject: cmdline.c: Try to fix func decl conflict

---
 cmdline.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cmdline.c b/cmdline.c
index 4336ac0..f035a1b 100644
--- a/cmdline.c
+++ b/cmdline.c
@@ -115,8 +115,7 @@ get_width ()
    accordingly and return 0; otherwise, don't do anything and return
    1.  Note: the empty string (e.g. the first number in ":15", the
    second in "2:") is treated as 0 (strtol's default behaviour). */
-int
-read_tv (char *s, struct disc_timeval *ret)
+int read_tv(char *s, struct disc_timeval *ret)
 {
   char *t;
   int min, sec;