diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-01-20 18:54:27 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-01-20 18:54:27 +0000 |
commit | 47ce95a7b98ff06b51f12a7381fc3788dff9961c (patch) | |
tree | c5c3da96ef698a987748784f6b9f82f774111baf /src/include/libpq/pqsignal.h | |
parent | b3a1ef53c3ce6f91226303a2455e932de475cde3 (diff) | |
download | postgresql-47ce95a7b98ff06b51f12a7381fc3788dff9961c.tar.gz postgresql-47ce95a7b98ff06b51f12a7381fc3788dff9961c.zip |
Now that much of walreceiver has been pulled back into the postgres
binary, revert PGDLLIMPORT decoration of global variables. I'm not sure
if there's any real harm from unnecessary PGDLLIMPORTs, but these are all
internal variables that external modules really shouldn't be messing
with. ThisTimeLineID still needs PGDLLIMPORT.
Diffstat (limited to 'src/include/libpq/pqsignal.h')
-rw-r--r-- | src/include/libpq/pqsignal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/libpq/pqsignal.h b/src/include/libpq/pqsignal.h index 84ac438d15f..db996ebe69f 100644 --- a/src/include/libpq/pqsignal.h +++ b/src/include/libpq/pqsignal.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.39 2010/01/16 05:52:29 tgl Exp $ + * $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.40 2010/01/20 18:54:27 heikki Exp $ * * NOTES * This shouldn't be in libpq, but the monitor and some other @@ -21,13 +21,13 @@ #include <signal.h> #ifdef HAVE_SIGPROCMASK -extern PGDLLIMPORT sigset_t UnBlockSig, +extern sigset_t UnBlockSig, BlockSig, StartupBlockSig; #define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL) #else /* not HAVE_SIGPROCMASK */ -extern PGDLLIMPORT int UnBlockSig, +extern int UnBlockSig, BlockSig, StartupBlockSig; |