#ifndef __POSIX_SIGNAL_SIGTABLES_H

typedef struct {
    int signal;
    char *name;
} Signal;

typedef struct {
    int len;
    int items[];
} SignalVector;

MODULE_SCOPE const Signal signals[];
MODULE_SCOPE const int nsigs;

MODULE_SCOPE int max_signum;

#define SIGOFFSET(SIG) ((SIG) - 1)

void
InitSignalTables (void);

SignalVector*
CreateSignalVector (void);

void
FreeSignalVector(
    SignalVector *svPtr
    );

int
GetSignalIdFromObj (
    Tcl_Interp *interp,
    Tcl_Obj *nameObj
    );

#define __POSIX_SIGNAL_SIGTABLES_H
#endif /* __POSIX_SIGNAL_SIGTABLES_H */

/* vim: set ts=8 sts=4 sw=4 sts=4 noet: */

#ifndef __POSIX_SIGNAL_SIGTABLES_H

typedef struct {
    int signal;
    char *name;
} Signal;

typedef struct {
    int len;
    int items[];
} SignalVector;

extern const Signal signals[];
extern const int nsigs;

extern int max_signum;

#define SIGOFFSET(SIG) ((SIG) - 1)

void
InitSignalTables (void);

SignalVector*
CreateSignalVector (void);

void
FreeSignalVector(
    SignalVector *svPtr
    );

int
GetSignalIdFromObj (
    Tcl_Interp *interp,
    Tcl_Obj *nameObj
    );

#define __POSIX_SIGNAL_SIGTABLES_H
#endif /* __POSIX_SIGNAL_SIGTABLES_H */

/* vim: set ts=8 sts=4 sw=4 sts=4 noet: */

--- 
+++ 
@@ -10,10 +10,10 @@
     int items[];
 } SignalVector;
 
-extern const Signal signals[];
-extern const int nsigs;
+MODULE_SCOPE const Signal signals[];
+MODULE_SCOPE const int nsigs;
 
-extern int max_signum;
+MODULE_SCOPE int max_signum;
 
 #define SIGOFFSET(SIG) ((SIG) - 1)
 
Hide global data symbols related to signal tables

'extern' decls for "signals", "nsigs" and "max_signum"
changed to 'MODULE_SCOPE' in unix/sigtables.h
to remove it from the symbol table of the generated
shared object file.
