summaryrefslogtreecommitdiff
path: root/Build/source/utils/xpdfopen
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-03-29 12:38:06 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-03-29 12:38:06 +0000
commit7bf872af277e5b41f5409c2531345b7701d06a4d (patch)
treeb2517289cbe37a79b51993e62b13640446737ccf /Build/source/utils/xpdfopen
parent8015dfe298b7c7af87f89f1b6598436b47d8f005 (diff)
chktex, psutils, xpdfopen: Remove extern decls from *.c files
git-svn-id: svn://tug.org/texlive/trunk@25775 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xpdfopen')
-rw-r--r--Build/source/utils/xpdfopen/ChangeLog5
-rw-r--r--Build/source/utils/xpdfopen/utils.c4
-rw-r--r--Build/source/utils/xpdfopen/utils.h4
3 files changed, 9 insertions, 4 deletions
diff --git a/Build/source/utils/xpdfopen/ChangeLog b/Build/source/utils/xpdfopen/ChangeLog
index 127f9e0de4c..f0ec83b2125 100644
--- a/Build/source/utils/xpdfopen/ChangeLog
+++ b/Build/source/utils/xpdfopen/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * utils.c: Move extern decl from here ...
+ * utils.h: ... to here.
+
2012-01-28 Jim Diamond <jim.diamond@acadiau.ca>
* sendx.c: fix (kludgily?) reset_focus() so that it actually works.
* pdfopen.c: add -r and -reset_focus options.
diff --git a/Build/source/utils/xpdfopen/utils.c b/Build/source/utils/xpdfopen/utils.c
index a75be79a02e..3ec2844bf5e 100644
--- a/Build/source/utils/xpdfopen/utils.c
+++ b/Build/source/utils/xpdfopen/utils.c
@@ -1,7 +1,7 @@
/*
* utils.c: Items common to pdfopen and pdfclose.
*
- * Copyright (C) 2010 Jim Diamond <jim.diamond@acadiau.ca>
+ * Copyright (C) 2010, 2012 Jim Diamond <jim.diamond@acadiau.ca>
* You may freely use, modify and/or distribute this file.
*/
@@ -11,8 +11,6 @@
#include "utils.h"
#include "xpdfopen.h"
-extern char * progname;
-
/*
* Allocate memory and create a window name.
* Return a pointer to the new string or NULL on failure.
diff --git a/Build/source/utils/xpdfopen/utils.h b/Build/source/utils/xpdfopen/utils.h
index 2eae6e88bf3..8c8f6566c70 100644
--- a/Build/source/utils/xpdfopen/utils.h
+++ b/Build/source/utils/xpdfopen/utils.h
@@ -1,13 +1,15 @@
/*
* utils.h: declare prototypes for functions defined in utils.c
*
- * Copyright (C) 2010 Jim Diamond <jim.diamond@acadiau.ca>
+ * Copyright (C) 2010, 2012 Jim Diamond <jim.diamond@acadiau.ca>
* You may freely use, modify and/or distribute this file.
*/
#ifndef UTILS_H
#define UTILS_H
+extern char * progname;
+
char * make_window_name(const char * fmt, const char * basename);
#endif