8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / krb5 / ss / prompt.c
blobe1685acffd9c5027fec0ae78c4cfb9ddf3f9ab47
1 /*
2 * Copyright (c) 2000 by Sun Microsystems, Inc.
3 * All rights reserved.
4 */
6 #pragma ident "%Z%%M% %I% %E% SMI"
8 /*
9 * prompt.c: Routines for retrieving and setting a prompt.
11 * util/ss/prompt.c
13 * Copyright 1987, 1988 by MIT Student Information Processing Board
15 * For copyright information, see copyright.h.
18 #include "copyright.h"
19 #include <stdio.h>
20 #include "ss_internal.h"
22 void
23 ss_set_prompt(sci_idx, new_prompt)
24 int sci_idx;
25 char *new_prompt;
27 ss_info(sci_idx)->prompt = new_prompt;
30 char *
31 ss_get_prompt(sci_idx)
32 int sci_idx;
34 return(ss_info(sci_idx)->prompt);