Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bcc/dbprintf.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>

#if defined(__STDC__) && !defined(__FIRST_ARG_IN_AX__)
#include <stdarg.h>
Expand All @@ -10,6 +11,8 @@
#define va_strt(p,i) va_start(p)
#endif

int vdbprintf(const char *fmt, va_list ap);

#if defined(__STDC__) && !defined(__FIRST_ARG_IN_AX__)
int dbprintf(const char * fmt, ...)
#else
Expand Down
2 changes: 1 addition & 1 deletion cpp/cpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ chget()
}

static void
unchget(ch)
unchget(int ch)
{
#if CPP_DEBUG
fprintf(stderr, "\b", ch);
Expand Down