dbtoman: Change to ANSI function definitions
This commit is contained in:
@@ -125,7 +125,7 @@ static char *br_help_msg[] = {
|
|||||||
/* ______________________________________________________________________ */
|
/* ______________________________________________________________________ */
|
||||||
|
|
||||||
void
|
void
|
||||||
Browse()
|
Browse(void)
|
||||||
{
|
{
|
||||||
char buf[256], *cmd, **av, **sv, *cmapfile, *sdatafile;
|
char buf[256], *cmd, **av, **sv, *cmapfile, *sdatafile;
|
||||||
char *Prompt;
|
char *Prompt;
|
||||||
@@ -186,7 +186,7 @@ Browse()
|
|||||||
if (av[1] && isdigit(*av[1])) {
|
if (av[1] && isdigit(*av[1])) {
|
||||||
n = atoi(av[1]);
|
n = atoi(av[1]);
|
||||||
if (n < ce->ndcont) {
|
if (n < ce->ndcont) {
|
||||||
printf(ce->dcont[n]);
|
printf("%s", ce->dcont[n]);
|
||||||
fputs("\n", stdout);
|
fputs("\n", stdout);
|
||||||
}
|
}
|
||||||
else if (ce->ndcont == 0)
|
else if (ce->ndcont == 0)
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ PrintStats(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
PrintIDList()
|
PrintIDList(void)
|
||||||
{
|
{
|
||||||
ID_t *id;
|
ID_t *id;
|
||||||
Element_t *ep;
|
Element_t *ep;
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ Initialize1(
|
|||||||
/* Initialization stuff done after dealing with args. */
|
/* Initialization stuff done after dealing with args. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
Initialize2()
|
Initialize2(void)
|
||||||
{
|
{
|
||||||
SetMappingNV(Variables, "transpec", tranfile ? tranfile : "??");
|
SetMappingNV(Variables, "transpec", tranfile ? tranfile : "??");
|
||||||
|
|
||||||
@@ -344,7 +344,7 @@ static char *help_msg[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
DoHelpMessage()
|
DoHelpMessage(void)
|
||||||
{
|
{
|
||||||
char **s = help_msg;
|
char **s = help_msg;
|
||||||
printf("usage: %s [option ...] [file]", this_prog);
|
printf("usage: %s [option ...] [file]", this_prog);
|
||||||
|
|||||||
@@ -575,7 +575,7 @@ Get_A_C_value(char * name)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
GetIDREFnames()
|
GetIDREFnames(void)
|
||||||
{
|
{
|
||||||
char *cp;
|
char *cp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user