diff options
| author | Jan Djärv | 2010-04-04 17:29:42 +0200 |
|---|---|---|
| committer | Jan Djärv | 2010-04-04 17:29:42 +0200 |
| commit | 6c1b5a1c01eb36ac3aab3bc44f7ac06050971ea8 (patch) | |
| tree | 81a52abf009660a090c02ff29bbfcbd8af15c28d | |
| parent | 3e6bec3b8cd377d078fedc514b26747e60b19ff0 (diff) | |
| download | emacs-6c1b5a1c01eb36ac3aab3bc44f7ac06050971ea8.tar.gz emacs-6c1b5a1c01eb36ac3aab3bc44f7ac06050971ea8.zip | |
Move declaration before other statements.
| -rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 8a0e43bcb48..a2065ac19a5 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3156,6 +3156,7 @@ set_machine_and_pid_properties (struct frame *f) | |||
| 3156 | XTextProperty text; | 3156 | XTextProperty text; |
| 3157 | int bytes, stringp; | 3157 | int bytes, stringp; |
| 3158 | int do_free_text_value = 0; | 3158 | int do_free_text_value = 0; |
| 3159 | long pid = (long)getpid(); | ||
| 3159 | 3160 | ||
| 3160 | text.value = x_encode_text (Vsystem_name, | 3161 | text.value = x_encode_text (Vsystem_name, |
| 3161 | Qcompound_text, 0, &bytes, &stringp, | 3162 | Qcompound_text, 0, &bytes, &stringp, |
| @@ -3170,7 +3171,6 @@ set_machine_and_pid_properties (struct frame *f) | |||
| 3170 | if (do_free_text_value) | 3171 | if (do_free_text_value) |
| 3171 | xfree (text.value); | 3172 | xfree (text.value); |
| 3172 | 3173 | ||
| 3173 | long pid = (long)getpid(); | ||
| 3174 | XChangeProperty (FRAME_X_DISPLAY (f), | 3174 | XChangeProperty (FRAME_X_DISPLAY (f), |
| 3175 | FRAME_OUTER_WINDOW (f), | 3175 | FRAME_OUTER_WINDOW (f), |
| 3176 | XInternAtom (FRAME_X_DISPLAY (f), | 3176 | XInternAtom (FRAME_X_DISPLAY (f), |