1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dbtoman: Change to ANSI function definitions

This commit is contained in:
Peter Howkins 2018-06-28 03:51:33 +01:00
parent b286be89d0
commit ed5d952294
4 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -302,7 +302,7 @@ PrintStats(
*/ */
void void
PrintIDList() PrintIDList(void)
{ {
ID_t *id; ID_t *id;
Element_t *ep; Element_t *ep;

View file

@ -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);

View file

@ -575,7 +575,7 @@ Get_A_C_value(char * name)
*/ */
void void
GetIDREFnames() GetIDREFnames(void)
{ {
char *cp; char *cp;