1 /* Copyright (c) 2012 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 6 #include <stdio.h> 7 8 #include "b.h" 9 10 int main(int argc, char** argv) { 11 FILE* f; 12 if (argc < 2) 13 return 1; 14 f = fopen(argv[1], "wt"); 15 fprintf(f, "#define VALUE %d\n", funcA()); 16 fclose(f); 17 return 0; 18 } 19