summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/info/dribble.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/texinfo/info/dribble.c')
-rw-r--r--contrib/texinfo/info/dribble.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/texinfo/info/dribble.c b/contrib/texinfo/info/dribble.c
index c4b5b9f..d456319 100644
--- a/contrib/texinfo/info/dribble.c
+++ b/contrib/texinfo/info/dribble.c
@@ -1,6 +1,7 @@
/* dribble.c -- dribble files for Info.
+ $Id: dribble.c,v 1.3 2004/04/11 17:56:45 karl Exp $
- Copyright (C) 1993, 98 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1998, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -28,8 +29,7 @@ FILE *info_dribble_file = (FILE *)NULL;
/* Open a dribble file named NAME, perhaps closing an already open one.
This sets the global variable INFO_DRIBBLE_FILE to the open stream. */
void
-open_dribble_file (name)
- char *name;
+open_dribble_file (char *name)
{
/* Perhaps close existing dribble file. */
close_dribble_file ();
@@ -49,7 +49,7 @@ open_dribble_file (name)
/* If there is a dribble file already open, close it. */
void
-close_dribble_file ()
+close_dribble_file (void)
{
if (info_dribble_file)
{
@@ -61,8 +61,7 @@ close_dribble_file ()
/* Write some output to our existing dribble file. */
void
-dribble (byte)
- unsigned char byte;
+dribble (unsigned char byte)
{
if (info_dribble_file)
fwrite (&byte, sizeof (unsigned char), 1, info_dribble_file);
OpenPOWER on IntegriCloud