dtdocbook: Change to ANSI function definitions
This commit is contained in:
@@ -101,7 +101,7 @@ static char *br_help_msg[] = {
|
||||
/* ______________________________________________________________________ */
|
||||
|
||||
void
|
||||
Browse()
|
||||
Browse(void)
|
||||
{
|
||||
char buf[256], *cmd, **av, **sv, *cmapfile, *sdatafile;
|
||||
char *Prompt;
|
||||
|
||||
@@ -279,7 +279,7 @@ PrintStats(
|
||||
*/
|
||||
|
||||
void
|
||||
PrintIDList()
|
||||
PrintIDList(void)
|
||||
{
|
||||
ID_t *id;
|
||||
Element_t *ep;
|
||||
|
||||
@@ -127,7 +127,7 @@ static int TclReadLocaleStrings(ClientData clientData,
|
||||
char *GetOutFileBaseName();
|
||||
|
||||
char *
|
||||
GetCLocale()
|
||||
GetCLocale(void)
|
||||
{
|
||||
_DtXlateDb myDb = NULL;
|
||||
char myPlatform[_DtPLATFORM_MAX_LEN+1];
|
||||
@@ -552,7 +552,7 @@ Initialize1(
|
||||
/* Initialization stuff done after dealing with args. */
|
||||
|
||||
static void
|
||||
Initialize2()
|
||||
Initialize2(void)
|
||||
{
|
||||
SetMappingNV(Variables, "transpec", tranfile ? tranfile : "??");
|
||||
|
||||
@@ -582,7 +582,7 @@ Initialize2()
|
||||
* Arguments:
|
||||
*
|
||||
*/
|
||||
char *GetOutFileBaseName()
|
||||
char *GetOutFileBaseName(void)
|
||||
{
|
||||
char *prefix, *suffix, *cp;
|
||||
static char nameBuf[_MAXNAMLEN+1] = "";
|
||||
@@ -761,7 +761,7 @@ static char *help_msg[] = {
|
||||
};
|
||||
|
||||
static void
|
||||
DoHelpMessage()
|
||||
DoHelpMessage(void)
|
||||
{
|
||||
char **s = help_msg;
|
||||
printf("usage: %s [option ...] [file]", this_prog);
|
||||
|
||||
@@ -601,7 +601,7 @@ if (cp->type == CMD_DATA)
|
||||
*/
|
||||
|
||||
void
|
||||
GetIDREFnames()
|
||||
GetIDREFnames(void)
|
||||
{
|
||||
char *cp;
|
||||
|
||||
|
||||
@@ -608,7 +608,7 @@ OutputString(
|
||||
/* ______________________________________________________________________ */
|
||||
/* resets the output buffer
|
||||
*/
|
||||
void ClearOutputBuffer()
|
||||
void ClearOutputBuffer(void)
|
||||
{
|
||||
outputBuffer.current = outputBuffer.base;
|
||||
}
|
||||
@@ -617,7 +617,7 @@ outputBuffer.current = outputBuffer.base;
|
||||
/* determines if there is already some text in the output buffer,
|
||||
* returns 1 if so, else 0
|
||||
*/
|
||||
int OutputBufferActive()
|
||||
int OutputBufferActive(void)
|
||||
{
|
||||
return (outputBuffer.current != outputBuffer.base);
|
||||
}
|
||||
@@ -625,7 +625,7 @@ return (outputBuffer.current != outputBuffer.base);
|
||||
/* ______________________________________________________________________ */
|
||||
/* terminates output buffer with a null char and returns the buffer
|
||||
*/
|
||||
char *GetOutputBuffer()
|
||||
char *GetOutputBuffer(void)
|
||||
{
|
||||
if (CheckOutputBuffer(1))
|
||||
*(outputBuffer.current)++ = '\0';
|
||||
|
||||
Reference in New Issue
Block a user