Permalink
Browse files

Revert some 1.8.1-isms

  • Loading branch information...
1 parent 58c4f56 commit 5fad96ae99b1f6d64f1d72d0889c6c3f6bc0012e @mhammond mhammond committed Jul 6, 2009
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/couchdb/couch_js.c
View
@@ -20,9 +20,6 @@ specific language governing permissions and limitations under the License.
#include <jsapi.h>
#include <curl/curl.h>
-extern JS_FRIEND_API(int)
-js_fgets(char *buf, int size, FILE *file);
-
#ifndef CURLOPT_COPYPOSTFIELDS
#define CURLOPT_COPYPOSTFIELDS 10165
#endif
@@ -1215,10 +1212,8 @@ main(int argc, const char * argv[]) {
if (!context)
return 1;
JS_SetErrorReporter(context, PrintError);
-#ifdef JSOPTION_NATIVE_BRANCH_CALLBACK
JS_SetBranchCallback(context, BranchCallback);
JS_ToggleOptions(context, JSOPTION_NATIVE_BRANCH_CALLBACK);
-#endif
JS_ToggleOptions(context, JSOPTION_XML);
global = JS_NewObject(context, NULL, NULL, NULL);

0 comments on commit 5fad96a

Please sign in to comment.