OLD | NEW |
---|---|
(Empty) | |
1 /* Copyright (c) 2011 Google Inc. All rights reserved. | |
2 * Use of this source code is governed by a BSD-style license that can be | |
3 * found in the LICENSE file. */ | |
4 | |
5 #include <stdio.h> | |
6 | |
7 #include "b.h" | |
8 | |
9 int main(int argc, char** argv) { | |
10 if (argc < 2) | |
11 return 1; | |
12 FILE* f = fopen(argv[1], "wt"); | |
13 fprintf(f, "#define VALUE %d\n", funcA()); | |
14 fclose(f); | |
15 return 0; | |
16 } | |
OLD | NEW |