(getstring, getstarg): Use plain char * instead of s_char *.

This commit is contained in:
Markus Armbruster 2004-04-08 17:56:12 +00:00
parent 8f007f7095
commit 48175e9beb
3 changed files with 16 additions and 6 deletions

View file

@ -35,8 +35,12 @@
#include "gen.h"
#include "subs.h"
s_char *
getstring(s_char *prompt, s_char *buf)
/*
* Print sub-prompt PROMPT, receive a line of input into BUF[1024].
* Return BUF on success, else NULL.
*/
char *
getstring(char *prompt, char *buf)
{
*buf = '\0';
if (prmptrd(prompt, buf, 1024) < 0)