]> granicus.if.org Git - graphviz/commitdiff
remove unused sfstrrsrv macro
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Sep 2020 19:16:27 +0000 (12:16 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Sep 2020 00:35:04 +0000 (17:35 -0700)
lib/ast/sfstr.h

index f5181a7e8045d410b41d050f3e40296f6de60aae..fd5372cd72a073083aadfe3c4f1fcaecf119c031 100644 (file)
@@ -43,8 +43,6 @@ extern "C" {
 #define sfstrbase(f)   ((char*)(f)->data)
 #define sfstrsize(f)   ((f)->size)
 
-#define sfstrrsrv(f,n) (sfreserve(f,(long)(n),1)?(sfwrite(f,(char*)(f)->next,0),(char*)(f)->next):(char*)0)
-
 #define sfstruse(f)    (sfputc(f,0), (char*)((f)->next = (f)->data) )
 
 #if _BLD_ast && defined(__EXPORT__)