Fixup dumpleases compile problem

This commit is contained in:
Eric Andersen 2002-12-06 21:42:56 +00:00
parent cc2bc454d1
commit 27e99c8f09
2 changed files with 4 additions and 1 deletions

View File

@ -50,3 +50,6 @@ $(UDHCP_DIR)dhcpc.o: $(UDHCP_DIR)dhcpc.c
$(UDHCP_DIR)dhcpd.o: $(UDHCP_DIR)dhcpd.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@
$(UDHCP_DIR)dumpleases.o: $(UDHCP_DIR)dumpleases.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@

View File

@ -28,7 +28,7 @@ struct lease_t {
u_int32_t expires;
};
#ifdef BB_VER
#ifdef COMBINED_BINARY
int dumpleases_main(int argc, char *argv[])
#else
int main(int argc, char *argv[])