aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-11-17 17:59:08 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:36:02 +0100
commitfa7fb7499fdf3625e28eb018a5ee9748d4b69dfe (patch)
treed11a55d1b0c6a03f69a8de1fe64687c9e9121fe0 /nx-X11/programs
parent8c36f1dd216abdb887f08fafc53156991e4f5e98 (diff)
downloadnx-libs-fa7fb7499fdf3625e28eb018a5ee9748d4b69dfe.tar.gz
nx-libs-fa7fb7499fdf3625e28eb018a5ee9748d4b69dfe.tar.bz2
nx-libs-fa7fb7499fdf3625e28eb018a5ee9748d4b69dfe.zip
Clipboard.c: avoid nested extern
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 7324a6175..f8383ccd9 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -223,6 +223,10 @@ int nxagentSendNotify(xEvent *event);
void nxagentPrintClipboardStat(char *);
+#ifdef NXAGENT_TIMESTAMP
+extern unsigned long startTime;
+#endif
+
#ifdef DEBUG
void nxagentPrintSelectionStat(int sel)
{
@@ -2082,8 +2086,6 @@ int nxagentInitClipboard(WindowPtr pWin)
#ifdef NXAGENT_TIMESTAMP
{
- extern unsigned long startTime;
-
fprintf(stderr, "%s: Initializing start [%ld] milliseconds.\n", __func__,
GetTimeInMillis() - startTime);
}
@@ -2218,8 +2220,6 @@ int nxagentInitClipboard(WindowPtr pWin)
#ifdef NXAGENT_TIMESTAMP
{
- extern unsigned long startTime;
-
fprintf(stderr, "%s: initializing ends [%ld] milliseconds.\n", __func__,
GetTimeInMillis() - startTime);
}