aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorJan D2010-07-02 14:19:53 +0200
committerJan D2010-07-02 14:19:53 +0200
commitf57e2426f0e8a6b251be71b6f62237fd286998ea (patch)
treea8db36e415ea69b4196881b44122454317510f46 /src/term.c
parent383e09700c9b3d175c506301d363be4597827db7 (diff)
downloademacs-f57e2426f0e8a6b251be71b6f62237fd286998ea.tar.gz
emacs-f57e2426f0e8a6b251be71b6f62237fd286998ea.zip
Remove __P and P_ from .c and .m files and definition of P_
* lisp.h: * atimer.h: Remove define for P_. * alloc.c: Remove __P and P_ from .c and .m files. * atimer.c: * buffer.c: * callint.c: * category.c: * charset.c: * chartab.c: * cm.c: * coding.c: * composite.c: * data.c: * dired.c: * dispnew.c: * doc.c: * editfns.c: * emacs.c: * eval.c: * fileio.c: * filelock.c: * fns.c: * font.c: * fontset.c: * frame.c: * ftfont.c: * ftxfont.c: * gmalloc.c: * gtkutil.c: * image.c: * indent.c: * intervals.c: * keyboard.c: * keymap.c: * lread.c: * marker.c: * menu.c: * minibuf.c: * print.c: * process.c: * scroll.c: * search.c: * sound.c: * strftime.c: * syntax.c: * sysdep.c: * term.c: * terminal.c: * textprop.c: * unexalpha.c: * w32console.c: * w32fns.c: * w32font.c: * w32menu.c: * w32term.c: * w32uniscribe.c: * window.c: * xdisp.c: * xfaces.c: * xfns.c: * xfont.c: * xftfont.c: * xmenu.c: * xselect.c: * xterm.c: Likewise. * ebrowse.c: Remove P_ and __P. * etags.c: * movemail.c: * pop.c: * update-game-score.c: Likewise.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/term.c b/src/term.c
index fad6e3c80d7..64e329ec602 100644
--- a/src/term.c
+++ b/src/term.c
@@ -66,10 +66,10 @@ static int been_here = -1;
66/* For now, don't try to include termcap.h. On some systems, 66/* For now, don't try to include termcap.h. On some systems,
67 configure finds a non-standard termcap.h that the main build 67 configure finds a non-standard termcap.h that the main build
68 won't find. */ 68 won't find. */
69extern void tputs P_ ((const char *, int, int (*)(int))); 69extern void tputs (const char *, int, int (*)(int));
70extern int tgetent P_ ((char *, const char *)); 70extern int tgetent (char *, const char *);
71extern int tgetflag P_ ((char *id)); 71extern int tgetflag (char *id);
72extern int tgetnum P_ ((char *id)); 72extern int tgetnum (char *id);
73 73
74#include "cm.h" 74#include "cm.h"
75#ifdef HAVE_X_WINDOWS 75#ifdef HAVE_X_WINDOWS
@@ -91,16 +91,16 @@ extern int tgetnum P_ ((char *id));
91#define DEV_TTY "/dev/tty" 91#define DEV_TTY "/dev/tty"
92#endif 92#endif
93 93
94static void tty_set_scroll_region P_ ((struct frame *f, int start, int stop)); 94static void tty_set_scroll_region (struct frame *f, int start, int stop);
95static void turn_on_face P_ ((struct frame *, int face_id)); 95static void turn_on_face (struct frame *, int face_id);
96static void turn_off_face P_ ((struct frame *, int face_id)); 96static void turn_off_face (struct frame *, int face_id);
97static void tty_show_cursor P_ ((struct tty_display_info *)); 97static void tty_show_cursor (struct tty_display_info *);
98static void tty_hide_cursor P_ ((struct tty_display_info *)); 98static void tty_hide_cursor (struct tty_display_info *);
99static void tty_background_highlight P_ ((struct tty_display_info *tty)); 99static void tty_background_highlight (struct tty_display_info *tty);
100static void clear_tty_hooks P_ ((struct terminal *terminal)); 100static void clear_tty_hooks (struct terminal *terminal);
101static void set_tty_hooks P_ ((struct terminal *terminal)); 101static void set_tty_hooks (struct terminal *terminal);
102static void dissociate_if_controlling_tty P_ ((int fd)); 102static void dissociate_if_controlling_tty (int fd);
103static void delete_tty P_ ((struct terminal *)); 103static void delete_tty (struct terminal *);
104 104
105#define OUTPUT(tty, a) \ 105#define OUTPUT(tty, a) \
106 emacs_tputs ((tty), a, \ 106 emacs_tputs ((tty), a, \
@@ -1517,10 +1517,10 @@ term_get_fkeys_1 ()
1517#define produce_composite_glyph produce_composite_glyph_term 1517#define produce_composite_glyph produce_composite_glyph_term
1518#endif 1518#endif
1519 1519
1520static void append_glyph P_ ((struct it *)); 1520static void append_glyph (struct it *);
1521static void produce_stretch_glyph P_ ((struct it *)); 1521static void produce_stretch_glyph (struct it *);
1522static void append_composite_glyph P_ ((struct it *)); 1522static void append_composite_glyph (struct it *);
1523static void produce_composite_glyph P_ ((struct it *)); 1523static void produce_composite_glyph (struct it *);
1524 1524
1525/* Append glyphs to IT's glyph_row. Called from produce_glyphs for 1525/* Append glyphs to IT's glyph_row. Called from produce_glyphs for
1526 terminal frames if IT->glyph_row != NULL. IT->char_to_display is 1526 terminal frames if IT->glyph_row != NULL. IT->char_to_display is