summaryrefslogtreecommitdiff
path: root/cscope-2-Cull-extraneous-declaration.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:10:56 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:10:56 +0000
commit5a4035746707b0966ba7c24d332cbf64dadb06d1 (patch)
treefdfc3b581aec7a5c6a8645b365e9ae9a23c37f61 /cscope-2-Cull-extraneous-declaration.patch
parent016a82dddce53ddb49ed3d206f0c36238aa01e38 (diff)
automatic import of cscopeopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'cscope-2-Cull-extraneous-declaration.patch')
-rw-r--r--cscope-2-Cull-extraneous-declaration.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/cscope-2-Cull-extraneous-declaration.patch b/cscope-2-Cull-extraneous-declaration.patch
new file mode 100644
index 0000000..ccbeba2
--- /dev/null
+++ b/cscope-2-Cull-extraneous-declaration.patch
@@ -0,0 +1,26 @@
+From 6a6998ecd0392ea643c4c4b317af9af8270761aa Mon Sep 17 00:00:00 2001
+From: Hans-Bernhard Broeker <HBBroeker@T-Online.de>
+Date: Thu, 9 Aug 2018 16:25:31 +0200
+Subject: [PATCH 3/9] Cull extraneous declaration
+
+Signed-off-by: Vladis Dronov <vdronov@redhat.com>
+---
+ src/global.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/global.h b/src/global.h
+index dbc8a43..a6f1486 100644
+--- a/src/global.h
++++ b/src/global.h
+@@ -224,7 +224,7 @@ extern char dicode2[]; /* digraph second character code */
+ + dicode2[(unsigned char)(inchar2)])
+
+ /* main.c global data */
+-extern char *editor, *home, *shell, *lineflag; /* environment variables */
++extern char *editor, *shell, *lineflag; /* environment variables */
+ extern char *home; /* Home directory */
+ extern BOOL lineflagafterfile;
+ extern char *argv0; /* command name */
+--
+2.26.2
+