Fix copyright lines
[folly.git] / folly / io / async / test / SocketPair.cpp
index e2eae1b182932ad568db147f6e84120572adfe2a..6399f99daee180b1298254dbe77c812648a569ca 100644 (file)
@@ -1,21 +1,19 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Copyright 2014-present Facebook, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
  *
  *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
+
 #include <folly/io/async/test/SocketPair.h>
 
 #include <folly/Conv.h>
@@ -24,7 +22,6 @@
 #include <folly/portability/Unistd.h>
 
 #include <errno.h>
-#include <sys/types.h>
 #include <stdexcept>
 
 namespace folly {
@@ -69,4 +66,4 @@ void SocketPair::closeFD1() {
   }
 }
 
-}
+} // namespace folly