diff options
| author | Ben Key | 2011-04-14 21:03:43 -0500 |
|---|---|---|
| committer | Ben Key | 2011-04-14 21:03:43 -0500 |
| commit | cc39a9dba6e3633e67501eaf0361fb2f040cb064 (patch) | |
| tree | 9c7041f642e9ffc6d0ab1dfaf7201e1ff5f5a5c9 /src | |
| parent | b5b8e7de516860a3f568e72b176da19f08e7238d (diff) | |
| download | emacs-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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/keyboard.c | 2 | ||||
| -rw-r--r-- | src/xfaces.c | 12 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2011-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; | |||
| 246 | static Lisp_Object Qself_insert_command; | 246 | static Lisp_Object Qself_insert_command; |
| 247 | static Lisp_Object Qforward_char; | 247 | static Lisp_Object Qforward_char; |
| 248 | static Lisp_Object Qbackward_char; | 248 | static Lisp_Object Qbackward_char; |
| 249 | static Lisp_Object Qundefined; | 249 | Lisp_Object Qundefined; |
| 250 | static Lisp_Object Qtimer_event_handler; | 250 | static 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 | ||
| 319 | Lisp_Object Qnormal; | 319 | Lisp_Object Qnormal; |
| 320 | static Lisp_Object Qbold, Qultra_light, Qextra_light, Qlight; | 320 | Lisp_Object Qbold; |
| 321 | static Lisp_Object Qultra_light, Qextra_light, Qlight; | ||
| 321 | static Lisp_Object Qsemi_light, Qsemi_bold, Qextra_bold, Qultra_bold; | 322 | static Lisp_Object Qsemi_light, Qsemi_bold, Qextra_bold, Qultra_bold; |
| 322 | static Lisp_Object Qoblique, Qitalic, Qreverse_oblique, Qreverse_italic; | 323 | static Lisp_Object Qoblique, Qreverse_oblique, Qreverse_italic; |
| 323 | static Lisp_Object Qultra_condensed, Qextra_condensed, Qcondensed; | 324 | Lisp_Object Qitalic; |
| 324 | static Lisp_Object Qsemi_condensed, Qsemi_expanded, Qexpanded, Qextra_expanded; | 325 | static Lisp_Object Qultra_condensed, Qextra_condensed; |
| 326 | Lisp_Object Qcondensed; | ||
| 327 | static Lisp_Object Qsemi_condensed, Qsemi_expanded, Qextra_expanded; | ||
| 328 | Lisp_Object Qexpanded; | ||
| 325 | static Lisp_Object Qultra_expanded; | 329 | static Lisp_Object Qultra_expanded; |
| 326 | static Lisp_Object Qreleased_button, Qpressed_button; | 330 | static Lisp_Object Qreleased_button, Qpressed_button; |
| 327 | static Lisp_Object QCstyle, QCcolor, QCline_width; | 331 | static Lisp_Object QCstyle, QCcolor, QCline_width; |