]> granicus.if.org Git - sudo/commitdiff
Remove unused struct script_buf
authorTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 21 Aug 2018 16:30:42 +0000 (10:30 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 21 Aug 2018 16:30:42 +0000 (10:30 -0600)
plugins/sudoers/iolog.c

index ad98e2a7196409bf0bfd9dd5a9949a30bfc3fa76..8c07e609a2215a7d20dbc26fba8173ddc2d31b6b 100644 (file)
 #include "sudoers.h"
 #include "iolog.h"
 
-struct script_buf {
-    int len; /* buffer length (how much read in) */
-    int off; /* write position (how much already consumed) */
-    char buf[16 * 1024];
-};
-
 /* XXX - separate sudoers.h and iolog.h? */
 #undef runas_pw
 #undef runas_gr