summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/saldata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/app/saldata.cxx')
-rw-r--r--vcl/unx/generic/app/saldata.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index 42dc10e0fc85..e48e71761b60 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -551,6 +551,8 @@ void X11SalData::Timeout()
pSVData->maSchedCtx.mpSalTimer->CallCallback();
}
+namespace {
+
struct YieldEntry
{
int fd; // file descriptor for reading
@@ -564,6 +566,8 @@ struct YieldEntry
void HandleNextEvent() const { handle( fd, data ); }
};
+}
+
#define MAX_NUM_DESCRIPTORS 128
static YieldEntry yieldTable[ MAX_NUM_DESCRIPTORS ];