removed sanity checking on result from sprintf
System IIIish systems seem to have their own idea.
This commit is contained in:
parent
4398053245
commit
f1a0c90fb1
1 changed files with 1 additions and 5 deletions
|
@ -5,7 +5,6 @@ static char rcsid[] = "$Header$";
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "param.h"
|
#include "param.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "assert.h"
|
|
||||||
#include "line.h"
|
#include "line.h"
|
||||||
#include "lookup.h"
|
#include "lookup.h"
|
||||||
#include "alloc.h"
|
#include "alloc.h"
|
||||||
|
@ -123,11 +122,8 @@ offset getoff() {
|
||||||
}
|
}
|
||||||
|
|
||||||
make_string(n) int n; {
|
make_string(n) int n; {
|
||||||
register char *s;
|
|
||||||
extern char *sprintf();
|
|
||||||
|
|
||||||
s=sprintf(string,".%u",n);
|
sprintf(string,".%u",n);
|
||||||
assert(s == string);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inident() {
|
inident() {
|
||||||
|
|
Loading…
Reference in a new issue