[llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Fri Oct 10 13:49:23 PDT 2003


Changes in directory llvm/tools/llvm-ar:

llvm-ar.cpp updated: 1.4 -> 1.5

---
Log message:

Rewrite head-of-file comment.
Include <cstdio> instead of <stdio.h>.


---
Diffs of the changes:  (+4 -7)

Index: llvm/tools/llvm-ar/llvm-ar.cpp
diff -u llvm/tools/llvm-ar/llvm-ar.cpp:1.4 llvm/tools/llvm-ar/llvm-ar.cpp:1.5
--- llvm/tools/llvm-ar/llvm-ar.cpp:1.4	Fri Oct 10 12:55:59 2003
+++ llvm/tools/llvm-ar/llvm-ar.cpp	Fri Oct 10 13:47:08 2003
@@ -1,25 +1,22 @@
-//===----------------------------------------------------------------------===//
-// LLVM 'ar' UTILITY 
+//===-- tools/llvm-ar/llvm-ar.cpp - LLVM archive librarian utility --------===//
 //
-// This utility may be invoked in the following manner:
-//  llvm-ar archivename files..
+// Builds up standard unix archive files (.a) containing LLVM bytecode.
 //
 //===----------------------------------------------------------------------===//
+
 #include "Support/CommandLine.h"
 #include "llvm/Bytecode/Reader.h"
 #include "llvm/Module.h"
-
 #include <string>
 #include <iostream>
 #include <fstream>
 #include <vector>
 #include <sys/stat.h>
-#include <stdio.h>
+#include <cstdio>
 #include <sys/types.h> 
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/mman.h>
-
 
 using std::string;
 using std::vector;





More information about the llvm-commits mailing list