mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-11 21:42:39 -04:00
23 lines
539 B
Plaintext
23 lines
539 B
Plaintext
$NetBSD: patch-ac,v 1.4 2013/05/25 16:39:39 shattered Exp $
|
|
|
|
--- astyle_main.cpp.orig 2001-01-20 17:02:14.000000000 +0000
|
|
+++ astyle_main.cpp
|
|
@@ -29,6 +29,8 @@
|
|
#include <fstream>
|
|
#include <string>
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
|
|
#define IS_OPTION(arg,op) ((arg).compare(op)==0)
|
|
@@ -149,7 +151,7 @@ void error(const char *why, const char*
|
|
exit(1);
|
|
}
|
|
|
|
-
|
|
+bool parseOption(ASFormatter &, const string &, const string &);
|
|
|
|
template<class ITER>
|
|
bool parseOptions(ASFormatter &formatter,
|