1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

Whitespace changes.

This commit is contained in:
Richard M. Stallman 2003-02-04 12:00:09 +00:00
parent 22b94eeb2c
commit a5d107f3c7

View File

@ -81,10 +81,8 @@ usage(err)
exit (err);
}
int
lock_file P_((const char *filename, void **state));
int
unlock_file P_((const char *filename, void *state));
int lock_file P_ ((const char *filename, void **state));
int unlock_file P_ ((const char *filename, void *state));
struct score_entry
{
@ -93,21 +91,18 @@ struct score_entry
char *data;
};
int
read_scores P_((const char *filename, struct score_entry **scores,
int read_scores P_ ((const char *filename, struct score_entry **scores,
int *count));
int
push_score P_((struct score_entry **scores, int *count,
int push_score P_ ((struct score_entry **scores, int *count,
int newscore, char *username, char *newdata));
void
sort_scores P_((struct score_entry *scores, int count, int reverse));
int
write_scores P_((const char *filename, const struct score_entry *scores,
void sort_scores P_ ((struct score_entry *scores, int count, int reverse));
int write_scores P_ ((const char *filename, const struct score_entry *scores,
int count));
void lose P_ ((const char *msg)) NO_RETURN;
void lose(msg)
void
lose (msg)
const char *msg;
{
fprintf (stderr, "%s\n", msg);
@ -116,7 +111,8 @@ void lose(msg)
void lose_syserr P_ ((const char *msg)) NO_RETURN;
void lose_syserr(msg)
void
lose_syserr (msg)
const char *msg;
{
fprintf (stderr, "%s: %s\n", msg, strerror (errno));
@ -397,7 +393,8 @@ push_score(scores, count, newscore, username, newdata)
char *username;
char *newdata;
{
struct score_entry *newscores = realloc(*scores,
struct score_entry *newscores
= realloc (*scores,
sizeof (struct score_entry) * ((*count) + 1));
if (!newscores)
return -1;