diff options
author | max <max@FreeBSD.org> | 1997-01-31 15:04:23 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-01-31 15:04:23 +0000 |
commit | bd5d098ad1618add27294f6ecd8f541830ccc0d1 (patch) | |
tree | 971cae6c02aed6dcba6d5c070e8b012231c3bcea /games/backgammon/teachgammon | |
parent | 1f160cfbad70d491e89658cd984e086c5e5210c9 (diff) | |
download | FreeBSD-src-bd5d098ad1618add27294f6ecd8f541830ccc0d1.zip FreeBSD-src-bd5d098ad1618add27294f6ecd8f541830ccc0d1.tar.gz |
Style police:
- Indentation corrections
- Spaces -> tabs.
- func() -> func () (To be consistent with the original code.)
- Check if getopt() returns -1, not EOF.
Suggested by: bde
Diffstat (limited to 'games/backgammon/teachgammon')
-rw-r--r-- | games/backgammon/teachgammon/teach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/backgammon/teachgammon/teach.c b/games/backgammon/teachgammon/teach.c index 8d3ae25..7761ee6 100644 --- a/games/backgammon/teachgammon/teach.c +++ b/games/backgammon/teachgammon/teach.c @@ -152,7 +152,7 @@ char **argv; } leave() { - register int i; + register int i; if (tflag) clear(); else @@ -163,7 +163,7 @@ leave() { args[acnt] = 0; execv (EXEC,args); for (i = 0; i < acnt; i++) - free(args[i]); + free (args[i]); writel ("Help! Backgammon program is missing\007!!\n"); exit (-1); } |