diff options
author | epoch <epoch@hack.thebackupbox.net> | 2019-06-24 04:48:49 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2019-06-24 04:48:49 +0000 |
commit | 142e7c78f554897079d977f99b909ab7d66da978 (patch) | |
tree | 09f65390d18dc7925af38cb77d2912c0c2a6609e /ircify.c | |
parent | 5233bdf96e20f490a1535b8537209d31e0819415 (diff) | |
download | libidc-142e7c78f554897079d977f99b909ab7d66da978.tar.gz libidc-142e7c78f554897079d977f99b909ab7d66da978.zip |
renamed the global struct to something less conflicty
Diffstat (limited to 'ircify.c')
-rw-r--r-- | ircify.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ #include <unistd.h> #include "idc.h" -extern struct global libline; +extern struct idc_global idc; int pin[2]; int pout[2]; @@ -50,9 +50,9 @@ int main(int argc,char *argv[]) { argv+=3; int i=0; for(i=0;i<100;i++) { - libline.fds[i].fd=-1; + idc.fds[i].fd=-1; } - libline.shitlen=0; + idc.shitlen=0; pipe(pin); pipe(pout); if(!fork()) { |