HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add changes to lisp/url/ChangeLog omitted from 2011-04-02T23:41:03Z!cyd@stupidchicken...
[bpt/emacs.git]
/
src
/
tparam.c
diff --git
a/src/tparam.c
b/src/tparam.c
index
fcbb638
..
6aae0b9
100644
(file)
--- a/
src/tparam.c
+++ b/
src/tparam.c
@@
-21,6
+21,7
@@
Boston, MA 02110-1301, USA. */
#include <config.h>
#include <setjmp.h>
#include "lisp.h" /* for xmalloc */
#include <config.h>
#include <setjmp.h>
#include "lisp.h" /* for xmalloc */
+#include "tparam.h"
#ifndef NULL
#define NULL (char *) 0
#ifndef NULL
#define NULL (char *) 0
@@
-38,11
+39,12
@@
Boston, MA 02110-1301, USA. */
The fourth and following args to tparam serve as the parameter values. */
The fourth and following args to tparam serve as the parameter values. */
-static char *tparam1 (char *string, char *outstring, int len, char *up, char *left, register int *argp);
+static char *tparam1 (char const *string, char *outstring, int len,
+ char *up, char *left, int *argp);
-/* VARARGS 2 */
char *
char *
-tparam (char *string, char *outstring, int len, int arg0, int arg1, int arg2, int arg3)
+tparam (const char *string, char *outstring, int len,
+ int arg0, int arg1, int arg2, int arg3)
{
int arg[4];
{
int arg[4];
@@
-59,7
+61,7
@@
char *UP;
static char tgoto_buf[50];
char *
static char tgoto_buf[50];
char *
-tgoto (char *cm, int hpos, int vpos)
+tgoto (c
onst c
har *cm, int hpos, int vpos)
{
int args[2];
if (!cm)
{
int args[2];
if (!cm)
@@
-70,10
+72,11
@@
tgoto (char *cm, int hpos, int vpos)
}
static char *
}
static char *
-tparam1 (char *string, char *outstring, int len, char *up, char *left, register int *argp)
+tparam1 (const char *string, char *outstring, int len,
+ char *up, char *left, register int *argp)
{
register int c;
{
register int c;
- register char *p = string;
+ register c
onst c
har *p = string;
register char *op = outstring;
char *outend;
int outlen = 0;
register char *op = outstring;
char *outend;
int outlen = 0;
@@
-277,4
+280,3
@@
main (argc, argv)
}
#endif /* DEBUG */
}
#endif /* DEBUG */
-