diff options
| author | Jan D | 2010-07-02 14:19:53 +0200 |
|---|---|---|
| committer | Jan D | 2010-07-02 14:19:53 +0200 |
| commit | f57e2426f0e8a6b251be71b6f62237fd286998ea (patch) | |
| tree | a8db36e415ea69b4196881b44122454317510f46 /src/term.c | |
| parent | 383e09700c9b3d175c506301d363be4597827db7 (diff) | |
| download | emacs-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.c | 36 |
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. */ |
| 69 | extern void tputs P_ ((const char *, int, int (*)(int))); | 69 | extern void tputs (const char *, int, int (*)(int)); |
| 70 | extern int tgetent P_ ((char *, const char *)); | 70 | extern int tgetent (char *, const char *); |
| 71 | extern int tgetflag P_ ((char *id)); | 71 | extern int tgetflag (char *id); |
| 72 | extern int tgetnum P_ ((char *id)); | 72 | extern 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 | ||
| 94 | static void tty_set_scroll_region P_ ((struct frame *f, int start, int stop)); | 94 | static void tty_set_scroll_region (struct frame *f, int start, int stop); |
| 95 | static void turn_on_face P_ ((struct frame *, int face_id)); | 95 | static void turn_on_face (struct frame *, int face_id); |
| 96 | static void turn_off_face P_ ((struct frame *, int face_id)); | 96 | static void turn_off_face (struct frame *, int face_id); |
| 97 | static void tty_show_cursor P_ ((struct tty_display_info *)); | 97 | static void tty_show_cursor (struct tty_display_info *); |
| 98 | static void tty_hide_cursor P_ ((struct tty_display_info *)); | 98 | static void tty_hide_cursor (struct tty_display_info *); |
| 99 | static void tty_background_highlight P_ ((struct tty_display_info *tty)); | 99 | static void tty_background_highlight (struct tty_display_info *tty); |
| 100 | static void clear_tty_hooks P_ ((struct terminal *terminal)); | 100 | static void clear_tty_hooks (struct terminal *terminal); |
| 101 | static void set_tty_hooks P_ ((struct terminal *terminal)); | 101 | static void set_tty_hooks (struct terminal *terminal); |
| 102 | static void dissociate_if_controlling_tty P_ ((int fd)); | 102 | static void dissociate_if_controlling_tty (int fd); |
| 103 | static void delete_tty P_ ((struct terminal *)); | 103 | static 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 | ||
| 1520 | static void append_glyph P_ ((struct it *)); | 1520 | static void append_glyph (struct it *); |
| 1521 | static void produce_stretch_glyph P_ ((struct it *)); | 1521 | static void produce_stretch_glyph (struct it *); |
| 1522 | static void append_composite_glyph P_ ((struct it *)); | 1522 | static void append_composite_glyph (struct it *); |
| 1523 | static void produce_composite_glyph P_ ((struct it *)); | 1523 | static 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 |