Minor fixes according to comments

- Add Facebook copyright notice
- Make max size macros more consistent
- Fix some unchecked malloc's
This commit is contained in:
Sean Purcell
2017-01-30 15:00:19 -08:00
parent 5657e0e07d
commit f231626244
4 changed files with 44 additions and 5 deletions
+9
View File
@@ -1,3 +1,12 @@
/*
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include <stdio.h>
#include <stdlib.h>