summaryrefslogtreecommitdiff
path: root/src/tet3/tcc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tet3/tcc')
-rw-r--r--src/tet3/tcc/tcc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tet3/tcc/tcc.c b/src/tet3/tcc/tcc.c
index bd9364bb..bdd05986 100644
--- a/src/tet3/tcc/tcc.c
+++ b/src/tet3/tcc/tcc.c
@@ -71,6 +71,7 @@ MODIFICATIONS:
#include <errno.h>
#include <signal.h>
# include <unistd.h>
+#include "tet_api.h"
#include "dtmac.h"
#include "dtmsg.h"
#include "error.h"
@@ -90,6 +91,10 @@ char tcc_options[] = "IT:Va:bcef:g:i:j:l:m:n:pr:s:t:v:x:y:";
static void badusage PROTOLIST((void));
static void prversioninfo PROTOLIST((void));
+/* satisfy libapi symbol resolution */
+TET_EXPORT char *tet_pname;
+TET_EXPORT int tet_thistest;
+
/* default root directories */
#ifndef DEFAULT_TET_ROOT
#define DEFAULT_TET_ROOT "/usr/local/share"