summaryrefslogtreecommitdiff
path: root/lib/ss/prompt.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-04-26 13:34:30 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-04-26 13:34:30 +0000
commitf3db3566b5e1342e49dffc5ec3f418a838584194 (patch)
tree1f6c5daaee7f33beb697143a8891da8a55752dd6 /lib/ss/prompt.c
parent6f4a109706f51ad11b9fff0983c140ab62549d2f (diff)
downloade2fsprogs-f3db3566b5e1342e49dffc5ec3f418a838584194.tar.gz
Many files:
Checkin of e2fsprogs 0.5b
Diffstat (limited to 'lib/ss/prompt.c')
-rw-r--r--lib/ss/prompt.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/ss/prompt.c b/lib/ss/prompt.c
index bc95d822..67d79eb3 100644
--- a/lib/ss/prompt.c
+++ b/lib/ss/prompt.c
@@ -13,19 +13,23 @@
#include <stdio.h>
#include "ss_internal.h"
-static const char rcsid[] =
- "$Header$";
-
-ss_set_prompt(sci_idx, new_prompt)
+#ifdef __STDC__
+void ss_set_prompt(int sci_idx, char *new_prompt)
+#else
+void ss_set_prompt(sci_idx, new_prompt)
int sci_idx;
char *new_prompt;
+#endif
{
ss_info(sci_idx)->prompt = new_prompt;
}
-char *
-ss_get_prompt(sci_idx)
+#ifdef __STDC__
+char *ss_get_prompt(int sci_idx)
+#else
+char *ss_get_prompt(sci_idx)
int sci_idx;
+#endif
{
return(ss_info(sci_idx)->prompt);
}