aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-lang.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfba45db2faf619e71856ee38ec63949c0ef6903e (patch)
tree107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/p-lang.c
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadgdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r--gdb/p-lang.c28
1 files changed, 7 insertions, 21 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c
index db33eb7..57ee5b8 100644
--- a/gdb/p-lang.c
+++ b/gdb/p-lang.c
@@ -36,10 +36,7 @@ static void pascal_one_char (int, struct ui_file *, int *);
In_quotes is reset to 0 if a char is written with #4 notation */
static void
-pascal_one_char (c, stream, in_quotes)
- register int c;
- struct ui_file *stream;
- int *in_quotes;
+pascal_one_char (register int c, struct ui_file *stream, int *in_quotes)
{
c &= 0xFF; /* Avoid sign bit follies */
@@ -72,10 +69,7 @@ static void pascal_emit_char (int c, struct ui_file *stream, int quoter);
characters and strings is language specific. */
static void
-pascal_emit_char (c, stream, quoter)
- register int c;
- struct ui_file *stream;
- int quoter;
+pascal_emit_char (register int c, struct ui_file *stream, int quoter)
{
int in_quotes = 0;
pascal_one_char (c, stream, &in_quotes);
@@ -84,9 +78,7 @@ pascal_emit_char (c, stream, quoter)
}
void
-pascal_printchar (c, stream)
- int c;
- struct ui_file *stream;
+pascal_printchar (int c, struct ui_file *stream)
{
int in_quotes = 0;
pascal_one_char (c, stream, &in_quotes);
@@ -100,12 +92,8 @@ pascal_printchar (c, stream)
had to stop before printing LENGTH characters, or if FORCE_ELLIPSES. */
void
-pascal_printstr (stream, string, length, width, force_ellipses)
- struct ui_file *stream;
- char *string;
- unsigned int length;
- int width;
- int force_ellipses;
+pascal_printstr (struct ui_file *stream, char *string, unsigned int length,
+ int width, int force_ellipses)
{
register unsigned int i;
unsigned int things_printed = 0;
@@ -222,9 +210,7 @@ pascal_printstr (stream, string, length, width, force_ellipses)
struct type *
-pascal_create_fundamental_type (objfile, typeid)
- struct objfile *objfile;
- int typeid;
+pascal_create_fundamental_type (struct objfile *objfile, int typeid)
{
register struct type *type = NULL;
@@ -424,7 +410,7 @@ const struct language_defn pascal_language_defn =
};
void
-_initialize_pascal_language ()
+_initialize_pascal_language (void)
{
add_language (&pascal_language_defn);
}