Skip to content

Commit

Permalink
misc: cleanup public header
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Jan 27, 2025
1 parent ee50cb9 commit 12aef89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@

#include "tjs.h"

#include <stdlib.h>


int main(int argc, char **argv) {
TJS_Initialize(argc, argv);

TJSRuntime *qrt = TJS_NewRuntime();
CHECK_NOT_NULL(qrt);
if (!qrt)
return 1;

int exit_code = TJS_Run(qrt);

Expand Down
1 change: 1 addition & 0 deletions src/private.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "../deps/quickjs/cutils.h"
#include "tjs.h"
#include "utils.h"
#include "wasm.h"

#include <curl/curl.h>
Expand Down
2 changes: 0 additions & 2 deletions src/tjs.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#ifndef TJS_H
#define TJS_H

#include "utils.h"

#include <quickjs.h>

typedef struct TJSRuntime TJSRuntime;
Expand Down

0 comments on commit 12aef89

Please sign in to comment.