function getting typed as variable argument functions

I have some code I am compiling with LLVM, and some functions in the code are begin declared as variable argument functions with no named arguments when the functions have known types. For example, the following C code

uint64_t getStartTime();

is getting compiled to

declare i64 @getStartTime(...)

in bitcode. Why would this happen?


Because the number/types of the arguments are unknown. For example,
the following is legal:

uint64_t getStartTime();
uint64_t x() { return getStartTime(10); }

uint64_t getStartTime(int x) { return x + 10; }

Perhaps you meant to write "uint64_t getStartTime(void)"?