diff options
| author | Andreas Schwab | 1998-04-14 12:25:56 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 12:25:56 +0000 |
| commit | dfcf069d565c347abf3cb7cec80e6ed8432037ba (patch) | |
| tree | cd9620f10084ffa69d7d6ae26284ffd69d4c07a5 /src/cm.c | |
| parent | 0f94f94657ad7a6a68e64c612285a5e06152def2 (diff) | |
| download | emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.tar.gz emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.zip | |
Fix -Wimplicit warnings.
Diffstat (limited to 'src/cm.c')
| -rw-r--r-- | src/cm.c | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -35,6 +35,7 @@ extern char *BC, *UP; | |||
| 35 | int cost; /* sums up costs */ | 35 | int cost; /* sums up costs */ |
| 36 | 36 | ||
| 37 | /* ARGSUSED */ | 37 | /* ARGSUSED */ |
| 38 | int | ||
| 38 | evalcost (c) | 39 | evalcost (c) |
| 39 | char c; | 40 | char c; |
| 40 | { | 41 | { |
| @@ -42,6 +43,7 @@ evalcost (c) | |||
| 42 | return c; | 43 | return c; |
| 43 | } | 44 | } |
| 44 | 45 | ||
| 46 | int | ||
| 45 | cmputc (c) | 47 | cmputc (c) |
| 46 | char c; | 48 | char c; |
| 47 | { | 49 | { |
| @@ -135,6 +137,7 @@ cmcheckmagic () | |||
| 135 | * out of <sgtty.h>.) | 137 | * out of <sgtty.h>.) |
| 136 | */ | 138 | */ |
| 137 | 139 | ||
| 140 | void | ||
| 138 | cmcostinit () | 141 | cmcostinit () |
| 139 | { | 142 | { |
| 140 | char *p; | 143 | char *p; |
| @@ -174,7 +177,7 @@ cmcostinit () | |||
| 174 | * actually perform the motion. | 177 | * actually perform the motion. |
| 175 | */ | 178 | */ |
| 176 | 179 | ||
| 177 | static | 180 | static int |
| 178 | calccost (srcy, srcx, dsty, dstx, doit) | 181 | calccost (srcy, srcx, dsty, dstx, doit) |
| 179 | { | 182 | { |
| 180 | register int deltay, | 183 | register int deltay, |
| @@ -309,6 +312,7 @@ losecursor () | |||
| 309 | #define USELL 2 | 312 | #define USELL 2 |
| 310 | #define USECR 3 | 313 | #define USECR 3 |
| 311 | 314 | ||
| 315 | void | ||
| 312 | cmgoto (row, col) | 316 | cmgoto (row, col) |
| 313 | { | 317 | { |
| 314 | int homecost, | 318 | int homecost, |
| @@ -411,6 +415,7 @@ cmgoto (row, col) | |||
| 411 | Used before copying into it the info on the actual terminal. | 415 | Used before copying into it the info on the actual terminal. |
| 412 | */ | 416 | */ |
| 413 | 417 | ||
| 418 | void | ||
| 414 | Wcm_clear () | 419 | Wcm_clear () |
| 415 | { | 420 | { |
| 416 | bzero (&Wcm, sizeof Wcm); | 421 | bzero (&Wcm, sizeof Wcm); |
| @@ -425,6 +430,7 @@ Wcm_clear () | |||
| 425 | * Return -2 if size not specified. | 430 | * Return -2 if size not specified. |
| 426 | */ | 431 | */ |
| 427 | 432 | ||
| 433 | int | ||
| 428 | Wcm_init () | 434 | Wcm_init () |
| 429 | { | 435 | { |
| 430 | #if 0 | 436 | #if 0 |