[SMAUG] trouble compiling logon history snippet from Xerves

[SMAUG] trouble compiling logon history snippet from Xerves



Guess I really need to learn to code better... ok, for Eos and the others here who are clearly better at this than I am, here's my latest snafu...
 
I'm trying to add the login history snippet by Xerves and when I compile the output reads:
 
save.c: In function 'do_last':
save.c:2186: too many arguments to function 'read_last_file'
save.c:2188: too many arguments to function 'read_last_file'
save.c:2195: too many arguments to function 'read_last_file'
make[1]: *** [o/save.o] Error 1
make: *** [all] Error 2
 
So, naturally I take a look at save.c on those three lines to see what it's talking about:
 
save.c: 2186 reads: read_last_file(ch, -2, NULL);
save.c: 2188 reads: read_last_file(ch, atoi(arg), NULL);
save.c: 2195 reads: read_last_file(ch, atoi(argument), name);
 
Now, with my very limited programming expertise, I naturally say to myself "looks about right to me, but let's see what that function is defined as" and I discover that it's defined in mud.h on line 4880 which reads:
 
void    read_last_file  args((CHAR_DATA *ch, int count));
 
Now, I'm looking at this going, hmm, does this mean there should only be two things in the paranthesis? And, more to the point, what do I need to do to fix it?
 
As always, thanks in advance to whoever can help me on this one,
    -=Conner=-
 
--
Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family
fun in a medieval setting, or come test your mettle in the Land of Legends,
our MUD, at telnet://tcdbbs.zapto.org:4000
For general info, visit http://www.tcdbbs.zapto.org