aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Key2011-04-14 21:03:43 -0500
committerBen Key2011-04-14 21:03:43 -0500
commitcc39a9dba6e3633e67501eaf0361fb2f040cb064 (patch)
tree9c7041f642e9ffc6d0ab1dfaf7201e1ff5f5a5c9
parentb5b8e7de516860a3f568e72b176da19f08e7238d (diff)
downloademacs-cc39a9dba6e3633e67501eaf0361fb2f040cb064.tar.gz
emacs-cc39a9dba6e3633e67501eaf0361fb2f040cb064.zip
Fix link errors in the Mac OS build that were caused by variables being marked as static that should not have been.
-rw-r--r--src/ChangeLog7
-rw-r--r--src/keyboard.c2
-rw-r--r--src/xfaces.c12
3 files changed, 16 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8ab1974ed58..706751bbdfa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12011-04-15 Ben Key <bkey76@gmail.com>
2
3 * keyboard.c (Qundefined): Don't declare static since it is
4 used in nsfns.m.
5 * xfaces.c (Qbold, Qexpanded, Qitalic, Qcondensed): Don't
6 declare static since they are used in nsfont.m.
7
12011-04-15 Stefan Monnier <monnier@iro.umontreal.ca> 82011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 * process.c (Qprocessp): Don't declare static. 10 * process.c (Qprocessp): Don't declare static.
diff --git a/src/keyboard.c b/src/keyboard.c
index 7895d05b34f..c0c53c82714 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -246,7 +246,7 @@ Lisp_Object QPRIMARY;
246static Lisp_Object Qself_insert_command; 246static Lisp_Object Qself_insert_command;
247static Lisp_Object Qforward_char; 247static Lisp_Object Qforward_char;
248static Lisp_Object Qbackward_char; 248static Lisp_Object Qbackward_char;
249static Lisp_Object Qundefined; 249Lisp_Object Qundefined;
250static Lisp_Object Qtimer_event_handler; 250static Lisp_Object Qtimer_event_handler;
251 251
252/* read_key_sequence stores here the command definition of the 252/* read_key_sequence stores here the command definition of the
diff --git a/src/xfaces.c b/src/xfaces.c
index 6d8acd77d87..5cfe99d1285 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -317,11 +317,15 @@ static Lisp_Object QCfontset;
317/* Symbols used for attribute values. */ 317/* Symbols used for attribute values. */
318 318
319Lisp_Object Qnormal; 319Lisp_Object Qnormal;
320static Lisp_Object Qbold, Qultra_light, Qextra_light, Qlight; 320Lisp_Object Qbold;
321static Lisp_Object Qultra_light, Qextra_light, Qlight;
321static Lisp_Object Qsemi_light, Qsemi_bold, Qextra_bold, Qultra_bold; 322static Lisp_Object Qsemi_light, Qsemi_bold, Qextra_bold, Qultra_bold;
322static Lisp_Object Qoblique, Qitalic, Qreverse_oblique, Qreverse_italic; 323static Lisp_Object Qoblique, Qreverse_oblique, Qreverse_italic;
323static Lisp_Object Qultra_condensed, Qextra_condensed, Qcondensed; 324Lisp_Object Qitalic;
324static Lisp_Object Qsemi_condensed, Qsemi_expanded, Qexpanded, Qextra_expanded; 325static Lisp_Object Qultra_condensed, Qextra_condensed;
326Lisp_Object Qcondensed;
327static Lisp_Object Qsemi_condensed, Qsemi_expanded, Qextra_expanded;
328Lisp_Object Qexpanded;
325static Lisp_Object Qultra_expanded; 329static Lisp_Object Qultra_expanded;
326static Lisp_Object Qreleased_button, Qpressed_button; 330static Lisp_Object Qreleased_button, Qpressed_button;
327static Lisp_Object QCstyle, QCcolor, QCline_width; 331static Lisp_Object QCstyle, QCcolor, QCline_width;