[dev] suckless arg.h

2014-07-14 Thread Weldon Goree
How much of util/ needs to be pulled in if one copies arg.h and its fairly awesome ARGBEGIN, etc.? Weldon

Re: [dev] suckless arg.h

2014-07-14 Thread Carlos Torres
Hello, On Mon, Jul 14, 2014 at 12:20 PM, Weldon Goree wel...@langurwallah.org wrote: How much of util/ needs to be pulled in if one copies arg.h and its fairly awesome ARGBEGIN, etc.? Weldon The arg.h header has everything it needs to exist on its own. without needing to pull anything else

Re: [dev] suckless arg.h

2014-07-14 Thread Dimitris Papastamos
On Mon, Jul 14, 2014 at 12:24:27PM -0400, Carlos Torres wrote: Hello, On Mon, Jul 14, 2014 at 12:20 PM, Weldon Goree wel...@langurwallah.org wrote: How much of util/ needs to be pulled in if one copies arg.h and its fairly awesome ARGBEGIN, etc.? Only thing that's required is to have a

Re: [dev] suckless arg.h

2014-07-14 Thread Weldon Goree
On 07/14/2014 09:57 PM, Dimitris Papastamos wrote: so for a single foo.c: #include arg.h char *argv0; /* not static */ Ah, that was it. I had static char const *argv0; Removing the staticness fixed it. Weldon

Re: [dev] suckless arg.h

2014-07-14 Thread Carlos Torres
Hello, On Mon, Jul 14, 2014 at 1:16 PM, Weldon Goree wel...@langurwallah.org wrote: On 07/14/2014 09:54 PM, Carlos Torres wrote: Enjoy! I do! Huge thanks to all of those who made this. I think full credit goes to 20h :) --Carlos

Re: [dev] suckless arg.h

2014-07-14 Thread Dimitris Papastamos
On Mon, Jul 14, 2014 at 01:19:22PM -0400, Carlos Torres wrote: Hello, On Mon, Jul 14, 2014 at 1:16 PM, Weldon Goree wel...@langurwallah.org wrote: On 07/14/2014 09:54 PM, Carlos Torres wrote: Enjoy! I do! Huge thanks to all of those who made this. I think full credit goes to 20h

Re: [dev] suckless arg.h

2014-07-14 Thread Carlos Torres
On Mon, Jul 14, 2014 at 1:28 PM, Dimitris Papastamos d...@spl9.org wrote: On Mon, Jul 14, 2014 at 01:19:22PM -0400, Carlos Torres wrote: Hello, On Mon, Jul 14, 2014 at 1:16 PM, Weldon Goree wel...@langurwallah.org wrote: On 07/14/2014 09:54 PM, Carlos Torres wrote: Enjoy! I do! Huge