|
|
@@ -8,20 +8,19 @@ static char elsieid[] = "%W%";
|
|
|
|
|
|
#include "private.h"
|
|
|
|
|
|
-char *
|
|
|
+const char *
|
|
|
scheck(string, format)
|
|
|
const char * const string;
|
|
|
-char * const format;
|
|
|
+const char * const format;
|
|
|
{
|
|
|
register char * fbuf;
|
|
|
register const char * fp;
|
|
|
register char * tp;
|
|
|
register int c;
|
|
|
- register char * result;
|
|
|
+ register const char * result;
|
|
|
char dummy;
|
|
|
- static char nada;
|
|
|
|
|
|
- result = &nada;
|
|
|
+ result = "";
|
|
|
if (string == NULL || format == NULL)
|
|
|
return result;
|
|
|
fbuf = imalloc((int) (2 * strlen(format) + 4));
|