aboutsummaryrefslogtreecommitdiffstats
path: root/src/tparam.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-04 00:50:25 -0700
committerDan Nicolaescu2010-07-04 00:50:25 -0700
commit971de7fb158335fbda39525feb2d7776a26bc030 (patch)
tree605333d85f16e35bb06baffcb66ac49f4ec0dce9 /src/tparam.c
parentb8463cbfbe2c5183cf40772df2746e58b787ddeb (diff)
downloademacs-971de7fb158335fbda39525feb2d7776a26bc030.tar.gz
emacs-971de7fb158335fbda39525feb2d7776a26bc030.zip
Convert (most) functions in src to standard C.
* src/alloc.c: Convert function definitions to standard C. * src/atimer.c: * src/bidi.c: * src/bytecode.c: * src/callint.c: * src/callproc.c: * src/casefiddle.c: * src/casetab.c: * src/category.c: * src/ccl.c: * src/character.c: * src/charset.c: * src/chartab.c: * src/cmds.c: * src/coding.c: * src/composite.c: * src/data.c: * src/dbusbind.c: * src/dired.c: * src/dispnew.c: * src/doc.c: * src/doprnt.c: * src/ecrt0.c: * src/editfns.c: * src/fileio.c: * src/filelock.c: * src/filemode.c: * src/fns.c: * src/font.c: * src/fontset.c: * src/frame.c: * src/fringe.c: * src/ftfont.c: * src/ftxfont.c: * src/gtkutil.c: * src/indent.c: * src/insdel.c: * src/intervals.c: * src/keymap.c: * src/lread.c: * src/macros.c: * src/marker.c: * src/md5.c: * src/menu.c: * src/minibuf.c: * src/prefix-args.c: * src/print.c: * src/ralloc.c: * src/regex.c: * src/region-cache.c: * src/scroll.c: * src/search.c: * src/sound.c: * src/strftime.c: * src/syntax.c: * src/sysdep.c: * src/termcap.c: * src/terminal.c: * src/terminfo.c: * src/textprop.c: * src/tparam.c: * src/undo.c: * src/unexelf.c: * src/window.c: * src/xfaces.c: * src/xfns.c: * src/xfont.c: * src/xftfont.c: * src/xgselect.c: * src/xmenu.c: * src/xrdb.c: * src/xselect.c: * src/xsettings.c: * src/xsmfns.c: * src/xterm.c: Likewise.
Diffstat (limited to 'src/tparam.c')
-rw-r--r--src/tparam.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/tparam.c b/src/tparam.c
index dcf79a3b617..a35647799cb 100644
--- a/src/tparam.c
+++ b/src/tparam.c
@@ -90,15 +90,11 @@ xrealloc (ptr, size)
90 90
91 The fourth and following args to tparam serve as the parameter values. */ 91 The fourth and following args to tparam serve as the parameter values. */
92 92
93static char *tparam1 (); 93static char *tparam1 (char *string, char *outstring, int len, char *up, char *left, register int *argp);
94 94
95/* VARARGS 2 */ 95/* VARARGS 2 */
96char * 96char *
97tparam (string, outstring, len, arg0, arg1, arg2, arg3) 97tparam (char *string, char *outstring, int len, int arg0, int arg1, int arg2, int arg3)
98 char *string;
99 char *outstring;
100 int len;
101 int arg0, arg1, arg2, arg3;
102{ 98{
103 int arg[4]; 99 int arg[4];
104 100
@@ -115,9 +111,7 @@ char *UP;
115static char tgoto_buf[50]; 111static char tgoto_buf[50];
116 112
117char * 113char *
118tgoto (cm, hpos, vpos) 114tgoto (char *cm, int hpos, int vpos)
119 char *cm;
120 int hpos, vpos;
121{ 115{
122 int args[2]; 116 int args[2];
123 if (!cm) 117 if (!cm)
@@ -128,12 +122,7 @@ tgoto (cm, hpos, vpos)
128} 122}
129 123
130static char * 124static char *
131tparam1 (string, outstring, len, up, left, argp) 125tparam1 (char *string, char *outstring, int len, char *up, char *left, register int *argp)
132 char *string;
133 char *outstring;
134 int len;
135 char *up, *left;
136 register int *argp;
137{ 126{
138 register int c; 127 register int c;
139 register char *p = string; 128 register char *p = string;